Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intel/icc 12.1 Errors #76

Closed
ax3l opened this issue Oct 2, 2013 · 2 comments
Closed

Intel/icc 12.1 Errors #76

ax3l opened this issue Oct 2, 2013 · 2 comments
Assignees
Labels
bug a bug in the project's code component: core in PIConGPU (core application)

Comments

@ax3l
Copy link
Member

ax3l commented Oct 2, 2013

icc 12.1 on taurus (module load intel/12.1 boost/1.54.0-intel12.1) fails since #42 was merged in eef746a

[ 16%] Building NVCC (Device) object build_picongpu/CMakeFiles/picongpu.dir//./picongpu_generated_main.cu.o
/sw/taurus/libraries/boost/1.54.0-intel12.1/include/boost/mpl/vector/aux_/preprocessed/plain/vector10.hpp(153): error: class "boost::mpl::vector<PMacc::lam
bda::placeholder<0>, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_
::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>" has no member "item2"
          detected during:
            instantiation of class "boost::mpl::v_at<V, 2L> [with V=boost::mpl::vector<PMacc::lambda::placeholder<0>, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>]" 
/sw/taurus/libraries/boost/1.54.0-intel12.1/include/boost/mpl/vector/aux_/at.hpp(69): here
            instantiation of class "boost::mpl::at_impl<boost::mpl::aux::vector_tag<n_>>::apply<Vector, N> [with n_=1L, Vector=boost::mpl::vector<PMacc::lambda::placeholder<0>, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, N=mpl_::long_<2L>]" 
/sw/taurus/libraries/boost/1.54.0-intel12.1/include/boost/mpl/at.hpp(43): here
            instantiation of class "boost::mpl::at_c<Sequence, N> [with Sequence=boost::mpl::vector<PMacc::lambda::placeholder<0>, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, N=2L]" 
/home/s4343183/src/picongpu/src/libPMacc/include/lambda/Expression.hpp(121): here
            instantiation of class "PMacc::lambda::Expression<_ExprType, _Childs> [with _ExprType=PMacc::lambda::exprTypes::terminal, _Childs=boost::mpl::vector<PMacc::lambda::placeholder<0>, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>]" 
/home/s4343183/src/picongpu/src/libPMacc/include/lambda/Expression.hpp(215): here
...
@ghost ghost assigned heikoburau Oct 2, 2013
@ax3l
Copy link
Member Author

ax3l commented Oct 2, 2013

See René's mail (September 16th):

Hi,

das Problem ist das der Code versucht in einem mpl::vector mit nur einem Element immer je nach Implementierung auf das N-te Element zu zugreifen.
Konnte in der Dekumentation nichts über den Fall finden wenn man auf was zugreift was es nicht gibt.

Ich glaub der Constructor von ExpressionBase muß überarbeitet werden, da per default von 0 - N-1 alle mpl::at_c Zugriffe versucht.
Eventuell muß man mpl::at_c<LISTE,Key,Default> nutzen!!


Hier mal ein Auszug aus dem erstellten Code.

template<typename _ExprType, typename _Childs>
struct ExpressionBase : public BaseWrapper<typename at_c<_Childs, 0 >::type, _Childs, mpl::int_< 0 > > , BaseWrapper<typename at_c<_Childs, 1 >::type, _Childs, mpl::int_< 1 > > , BaseWrapper<typename at_c<_Childs, 2 >::type, _Childs, mpl::int_< 2 > > , BaseWrapper<typename at_c<_Childs, 3 >::type, _Childs, mpl::int_< 3 > > , BaseWrapper<typename at_c<_Childs, 4 >::type, _Childs, mpl::int_< 4 > > , BaseWrapper<typename at_c<_Childs, 5 >::type, _Childs, mpl::int_< 5 > > , BaseWrapper<typename at_c<_Childs, 6 >::type, _Childs, mpl::int_< 6 > > , BaseWrapper<typename at_c<_Childs, 7 >::type, _Childs, mpl::int_< 7 > >
{
    typedef ExpressionBase<_ExprType, _Childs> This;

    typedef _Childs Childs;

    typedef BaseWrapper<typename at_c<_Childs, 0 >::type, _Childs, mpl::int_< 0 > > BaseChild0;
 typedef BaseWrapper<typename at_c<_Childs, 1 >::type, _Childs, mpl::int_< 1 > > BaseChild1;
 typedef BaseWrapper<typename at_c<_Childs, 2 >::type, _Childs, mpl::int_< 2 > > BaseChild2;
 typedef BaseWrapper<typename at_c<_Childs, 3 >::type, _Childs, mpl::int_< 3 > > BaseChild3;
 typedef BaseWrapper<typename at_c<_Childs, 4 >::type, _Childs, mpl::int_< 4 > > BaseChild4;
 typedef BaseWrapper<typename at_c<_Childs, 5 >::type, _Childs, mpl::int_< 5 > > BaseChild5;
 typedef BaseWrapper<typename at_c<_Childs, 6 >::type, _Childs, mpl::int_< 6 > > BaseChild6;
 typedef BaseWrapper<typename at_c<_Childs, 7 >::type, _Childs, mpl::int_< 7 > > BaseChild7;


    __attribute__((device)) __attribute__((host)) __inline__ __attribute__((always_inline))
    ExpressionBase( const typename at_c<Childs, 0 >::type& child0 = typename at_c<Childs, 0 >::type() , const typename at_c<Childs, 1 >::type& child1 = typename at_c<Childs, 1 >::type() , const typename at_c<Childs, 2 >::type& child2 = typename at_c<Childs, 2 >::type() , const typename at_c<Childs, 3 >::type& child3 = typename at_c<Childs, 3 >::type() , const typename at_c<Childs, 4 >::type& child4 = typename at_c<Childs, 4 >::type() , const typename at_c<Childs, 5 >::type& child5 = typename at_c<Childs, 5 >::type() , const typename at_c<Childs, 6 >::type& child6 = typename at_c<Childs, 6 >::type() , const typename at_c<Childs, 7 >::type& child7 = typename at_c<Childs, 7 >::type())
     : BaseChild0 (child0) , BaseChild1 (child1) , BaseChild2 (child2) , BaseChild3 (child3) , BaseChild4 (child4) , BaseChild5 (child5) , BaseChild6 (child6) , BaseChild7 (child7) {}


    __attribute__((device)) __attribute__((host)) __inline__ __attribute__((always_inline)) typename at_c<Childs, 0>::type getChild0() const {return (BaseChild0)(*this);
}
 __attribute__((device)) __attribute__((host)) __inline__ __attribute__((always_inline)) typename at_c<Childs, 1>::type getChild1() const {return (BaseChild1)(*this);

....

René 

@ax3l
Copy link
Member Author

ax3l commented Nov 12, 2013

Closed with #100 , thanks!

@ax3l ax3l closed this as completed Nov 12, 2013
ax3l added a commit to ax3l/picongpu that referenced this issue Feb 17, 2015
…lRadiationPhysics/dev

Merge dev into master for release 2.0.1crp
slizzered pushed a commit to slizzered/picongpu that referenced this issue Sep 28, 2015
80bf2b0 Merge pull request ComputationalRadiationPhysics#102 from ComputationalRadiationPhysics/dev
ef29c73 Merge pull request ComputationalRadiationPhysics#101 from slizzered/prepare-version_2_2_crp
248539c changelog entry for 2.2.0crp
f57b59b version bump to 2.2.0crp
3b91c67 Merge pull request ComputationalRadiationPhysics#100 from slizzered/issue98-rename_uint_typedef
aeab138 the backslash is now aligned
af6b7ca changed type to match __ballot signature
17389a5 removed typedef uint32_richtig_huebsch
b5737f7 Merge pull request ComputationalRadiationPhysics#97 from slizzered/issue65-add_comment
1d0b136 Added TODO to boost_static_assert cast warning
da904d0 Merge pull request ComputationalRadiationPhysics#95 from ax3l/topic-wshadow
ca39cbc Fix Wshadow Warnings
0e7e517 Add Wshadow
65e010d Merge pull request ComputationalRadiationPhysics#93 from ax3l/doc-updateCMakeVersion
b4d0657 Add a CMake 2.8.12.2 PPA for Precise
3eb9205 Close ComputationalRadiationPhysics#92: Update CMake Version to 2.8.12.2+
bb96ed9 Merge pull request ComputationalRadiationPhysics#91 from BenjaminW3/patch-3
2fafcbd Merge pull request ComputationalRadiationPhysics#89 from BenjaminW3/patch-1
f09c782 Define __THROW for systems without Glibc
133eb65 Merge pull request ComputationalRadiationPhysics#90 from BenjaminW3/patch-2
01b2dd7 fix a spelling mistake
229c891 fix unconditional usage of getAvailableSlotsHost
1b1819a Merge pull request ComputationalRadiationPhysics#87 from BenjaminW3/fix-struct-class
5f4adf5 fix non-matching class/struct declaration
799d7d7 Merge pull request ComputationalRadiationPhysics#84 from ComputationalRadiationPhysics/dev
1314bf2 Merge pull request ComputationalRadiationPhysics#76 from ComputationalRadiationPhysics/dev
ddeae86 Merge pull request ComputationalRadiationPhysics#56 from ComputationalRadiationPhysics/dev

git-subtree-dir: thirdParty/mallocMC
git-subtree-split: 80bf2b0d0ec33bf350c5de4cc5dc11231f9ee7cd
ax3l pushed a commit to ax3l/picongpu that referenced this issue Jun 11, 2018
73fb269a8 release version 0.1.0
8dbfc7fd8 Merge pull request ComputationalRadiationPhysics#78 from psychocoderHPC/topic-alpakSubmoduleTag0.3.1
268f96b05 update alpaka submodule
7ca202984 Merge pull request ComputationalRadiationPhysics#77 from ax3l/doc-changelog010
cd5497cd2 Add RODARE Meta File
b73100f73 Changelog 0.1.0 release
6b40539a0 Merge pull request ComputationalRadiationPhysics#76 from psychocoderHPC/fix-copyrightYear
b85672949 fix copyright year
253c297d4 Merge pull request ComputationalRadiationPhysics#75 from psychocoderHPC/topic-noLicensePerFileInDoxygen
da8df7cb8 Doxygen: Fix Headers
f3cad02ee Merge pull request ComputationalRadiationPhysics#74 from psychocoderHPC/topic-addVersioningFile
ab57a44bb add versioning file
a07bae0d6 Merge pull request ComputationalRadiationPhysics#73 from psychocoderHPC/fix-streamAndEventIDCreation
b7b98f8a8 fix id generation for events and streams

git-subtree-dir: thirdParty/cupla
git-subtree-split: 73fb269a8c080e613b0abe860f5d101ba1107e1d
ax3l pushed a commit to ax3l/picongpu that referenced this issue Jun 11, 2018
4b779a34c Merge pull request ComputationalRadiationPhysics#147 from ComputationalRadiationPhysics/dev
1ca54d657 Merge pull request ComputationalRadiationPhysics#146 from ax3l/doc-changelog023
07a316488 Version: Bump 0.2.3crp
6f2f6140d Add 0.2.3crp Changelog
1749d1cae Merge pull request ComputationalRadiationPhysics#145 from ax3l/fix-activeMask
68bf353de Fix V100 Active Lanes in Warp
80bf2b0d0 Merge pull request ComputationalRadiationPhysics#102 from ComputationalRadiationPhysics/dev
799d7d7 Merge pull request ComputationalRadiationPhysics#84 from ComputationalRadiationPhysics/dev
1314bf2 Merge pull request ComputationalRadiationPhysics#76 from ComputationalRadiationPhysics/dev
ddeae86 Merge pull request ComputationalRadiationPhysics#56 from ComputationalRadiationPhysics/dev

git-subtree-dir: thirdParty/mallocMC
git-subtree-split: 4b779a34cd8ba073b24f69435d71022f3988d42e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug a bug in the project's code component: core in PIConGPU (core application)
Projects
None yet
Development

No branches or pull requests

2 participants