Compiling serpent2 last update

Parallelization with OpenMP and MPI, scalability, reproducibility, errors, problems suggestions
Post Reply
Antolin
Posts: 22
Joined: Sun Nov 13, 2011 3:31 pm
Security question 2: 0
Location: Rio de Janeiro, Brazil

Compiling serpent2 last update

Post by Antolin » Tue Dec 09, 2014 10:54 pm

Dear, Jaakko
when i try to compile serpet2 2.1.22 using mpicc, i got the following error

rendezvous.c: In function ‘Rendezvous’:
rendezvous.c:129:29: error: ‘PARTICLE_PTR_HIST’ undeclared (first use in this function)
pth = (long)RDB[ptr + PARTICLE_PTR_HIST];
^
rendezvous.c:129:29: note: each undeclared identifier is reported only once for each function it appears in
make: ** [rendezvous.o] Erro 1

If i use gcc the compiling is ok. Any thoughts?
I'm using ububtu 14.4 64 bits whith: mpicc for MPICH version 3.0.4 and gcc version 4.8.2 with intel core i5 processor

User avatar
Jaakko Leppänen
Site Admin
Posts: 2377
Joined: Thu Mar 18, 2010 10:43 pm
Security question 2: 0
Location: Espoo, Finland
Contact:

Re: Compiling serpent2 last update

Post by Jaakko Leppänen » Thu Dec 11, 2014 7:07 pm

- Jaakko

Post Reply