{"action":"created","issue":{"url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/issues/1021","labels_url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/issues/1021/labels{/name}","comments_url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/issues/1021/comments","events_url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/issues/1021/events","html_url":"https://github.com/ComputationalRadiationPhysics/picongpu/pull/1021","id":99446253,"number":1021,"title":"fix traits `GetUniqueTypeId`","user":{"login":"psychocoderHPC","id":4037125,"avatar_url":"https://avatars.githubusercontent.com/u/4037125?v=3","gravatar_id":"","url":"https://api.github.com/users/psychocoderHPC","html_url":"https://github.com/psychocoderHPC","followers_url":"https://api.github.com/users/psychocoderHPC/followers","following_url":"https://api.github.com/users/psychocoderHPC/following{/other_user}","gists_url":"https://api.github.com/users/psychocoderHPC/gists{/gist_id}","starred_url":"https://api.github.com/users/psychocoderHPC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psychocoderHPC/subscriptions","organizations_url":"https://api.github.com/users/psychocoderHPC/orgs","repos_url":"https://api.github.com/users/psychocoderHPC/repos","events_url":"https://api.github.com/users/psychocoderHPC/events{/privacy}","received_events_url":"https://api.github.com/users/psychocoderHPC/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"BenjaminW3","id":8956583,"avatar_url":"https://avatars.githubusercontent.com/u/8956583?v=3","gravatar_id":"","url":"https://api.github.com/users/BenjaminW3","html_url":"https://github.com/BenjaminW3","followers_url":"https://api.github.com/users/BenjaminW3/followers","following_url":"https://api.github.com/users/BenjaminW3/following{/other_user}","gists_url":"https://api.github.com/users/BenjaminW3/gists{/gist_id}","starred_url":"https://api.github.com/users/BenjaminW3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenjaminW3/subscriptions","organizations_url":"https://api.github.com/users/BenjaminW3/orgs","repos_url":"https://api.github.com/users/BenjaminW3/repos","events_url":"https://api.github.com/users/BenjaminW3/events{/privacy}","received_events_url":"https://api.github.com/users/BenjaminW3/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/milestones/2","html_url":"https://github.com/ComputationalRadiationPhysics/picongpu/milestones/Open%20Beta","labels_url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/milestones/2/labels","id":395839,"number":2,"title":"Open Beta","description":"Tasks to complete until the release of our open beta (version 0.1)\r\n\r\nThe [beta](https://en.wikipedia.org/wiki/Software_release_life_cycle#Beta) release shall be useful for *physicist* that used a Particle-in-Cell code *before*. Experience with *compiling libraries from source* and a *good Linux knowledge* is required for the initial installation.\r\n","creator":{"login":"ax3l","id":1353258,"avatar_url":"https://avatars.githubusercontent.com/u/1353258?v=3","gravatar_id":"","url":"https://api.github.com/users/ax3l","html_url":"https://github.com/ax3l","followers_url":"https://api.github.com/users/ax3l/followers","following_url":"https://api.github.com/users/ax3l/following{/other_user}","gists_url":"https://api.github.com/users/ax3l/gists{/gist_id}","starred_url":"https://api.github.com/users/ax3l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ax3l/subscriptions","organizations_url":"https://api.github.com/users/ax3l/orgs","repos_url":"https://api.github.com/users/ax3l/repos","events_url":"https://api.github.com/users/ax3l/events{/privacy}","received_events_url":"https://api.github.com/users/ax3l/received_events","type":"User","site_admin":false},"open_issues":101,"closed_issues":828,"state":"open","created_at":"2013-08-06T16:38:57Z","updated_at":"2015-08-06T14:35:01Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-08-06T14:19:30Z","updated_at":"2015-08-07T08:43:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/pulls/1021","html_url":"https://github.com/ComputationalRadiationPhysics/picongpu/pull/1021","diff_url":"https://github.com/ComputationalRadiationPhysics/picongpu/pull/1021.diff","patch_url":"https://github.com/ComputationalRadiationPhysics/picongpu/pull/1021.patch"},"body":"- assert in getUniqueTypeId is triggert with a special environment on hypnos\r\n- baseUId is not smallest created id\r\n\r\nfix:\r\n\r\n- ~~explicit initialize the base `TypeId` with `GetUniqueTypeId<uint8_t>::byte`~~\r\n- remove pointer address magic\r\n- add base type with static global counter\r\n\r\nEnvironment:\r\n\r\n```\r\nmodule load gcc/4.8.2\r\nmodule load cmake/3.0.1\r\nmodule load cuda/6.5\r\nmodule load openmpi/1.8.4.kepler\r\nmodule load boost/1.54.0\r\n\r\n# Plugins (optional)\r\nmodule load pngwriter/0.5.4\r\nmodule load hdf5-parallel/1.8.14 libsplash/1.2.4\r\nmodule load numactl/2.0.7\r\nmodule load paraview/3.98.laser\r\nmodule load svn\r\nmodule load gnuplot/4.2.6\r\n```"},"comment":{"url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/issues/comments/128642752","html_url":"https://github.com/ComputationalRadiationPhysics/picongpu/pull/1021#issuecomment-128642752","issue_url":"https://api.github.com/repos/ComputationalRadiationPhysics/picongpu/issues/1021","id":128642752,"user":{"login":"psychocoderHPC","id":4037125,"avatar_url":"https://avatars.githubusercontent.com/u/4037125?v=3","gravatar_id":"","url":"https://api.github.com/users/psychocoderHPC","html_url":"https://github.com/psychocoderHPC","followers_url":"https://api.github.com/users/psychocoderHPC/followers","following_url":"https://api.github.com/users/psychocoderHPC/following{/other_user}","gists_url":"https://api.github.com/users/psychocoderHPC/gists{/gist_id}","starred_url":"https://api.github.com/users/psychocoderHPC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psychocoderHPC/subscriptions","organizations_url":"https://api.github.com/users/psychocoderHPC/orgs","repos_url":"https://api.github.com/users/psychocoderHPC/repos","events_url":"https://api.github.com/users/psychocoderHPC/events{/privacy}","received_events_url":"https://api.github.com/users/psychocoderHPC/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T08:43:11Z","updated_at":"2015-08-07T08:43:11Z","body":"@BenjaminW3  If have changed the algorithm to create IDs. Now it is a counter based on the some method like before. Every time a compiler see a new type the id of the base type is incremented and stored in the new type."}}