Message: Re: Compile error with Cray compiler, ok with Gnu Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Compile error with Cray compiler, ok with Gnu 

Forum: Installation and Configuration
Re: Ok Compile error with Cray compiler, ok with Gnu (Patrik Eschle)
Re: Question Re: Compile error with Cray compiler, ok with Gnu (Michael H. Kelsey)
Date: 16 Oct, 2015
From: Patrik Eschle <Patrik Eschle>

Michael

Thanks for the hint. The Geant version was geant4.10.01.p02, the error is included below.

I'm afraid I don't have time to follow this since I should produce some benchmarks in order to get my Geant4 project accepted on this machine. They don't like the idea that a code does something else than large matrix multiplication, so any experience on how to get G4 run fast on the large Cray would be welcome. If the compiler is the key, then I will have to dive into this.

All the best,

Patrik (escl@zhaw.ch)

=== Error from Cray compiler (CMAKE_CXX_COMPILER:FILEPATH=/opt/cray/craype/2.4.0/bin/CC) ===

[ 49%] Building CXX object source/processes/CMakeFiles/G4processes.dir/hadronic/models/cascade/cascade/src/G4CascadeColliderBase.cc.o
CC-852 crayc++: ERROR File = /opt/gcc/4.8.1/snos/include/g++/bits/stl_vector.h, Line = 786
  The expression must be a pointer to a complete object type.

        { return *(this->_M_impl._M_start + __n); }
                   ^
          Detected during instantiation of "std::vector<_Tp,
                    _Alloc>::const_reference std::vector<_Tp,
                    _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type)
                    const [with _Tp=G4InuclElementaryParticle,
                    _Alloc=std::allocator<G4InuclElementaryParticle>]" at line
                    114 of
                    "/users/patrike/geant/geant4.10.01.p02-src/source/processes
                    /hadronic/models/cascade/cascade/include/G4CascadeCoalescen
                    ce.hh".

 [ 49%] Building CXX object source/processes/CMakeFiles/G4processes.dir/hadronic/models/cascade/cascade/src/G4CascadeDeexciteBase.cc.o

===

 Add Message Add Message
to: "Re: Compile error with Cray compiler, ok with Gnu"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]