forum@abinit.org
Subject: The ABINIT Users Mailing List ( CLOSED )
List archive
- From: prendergast2@llnl.gov
- To: forum@abinit.org
- Subject: Re: compiling POENMP on Intel Cluster
- Date: Sat, 1 May 2004 02:23:35 +0200
Hi Nichols,
I ran into this problem before. If you look for my name in the Mailing List
archives you should find a posting on this.
Basically, compilers don't like it if you put an exit statement in the middle
of a loop that is expected to be parallelized using OPENMP, since if one
processor exits the loop, the others won't know and the processes will no
longer be synchronized for communication at the end of the loop.
I had to edit all the files with OMP directives that contained exit
statements. This involved some 'grep'ing for OMP and exit. After that the
program managed to compile.
*However*, I could never get abinip (compiled with OMP on an Intel
architecture) to run without a segmentation fault anyway. I think this is a
more fundamental problem either with the code or the compiler. I've only ever
managed to compile abinip with OMP directives on a DEC/Alpha, where it works
very well.
Please let me know if you get the code to compile and run on your Intel
architecture. And how efficient this is.
Good luck,
David.
===============
Hi,
I'm trying to compile ABINIT 4.2.4 for use with OPENMP on Intel Cluster.
I am using version 8.0 of the Intel Fortran Compiler. Has anyone run
into this error?
/usr/bin/cpp -C -DP6 -P -traditional -D__IFC -DOPENMP mv_3dte.f >
mv_3dte_cpp.f
ifort -FR -mp -O2 -w -openmp -fpp -c mv_3dte_cpp.f
fortcom: Error: mv_3dte_cpp.f, line 443: An EXIT statement is not legal
in a DO loop associated with a an OpenMP DO directive.
exit
--------^
compilation aborted for mv_3dte_cpp.f (code 1)
m
Thanks,
--
Nichols A. Romero
- Re: compiling POENMP on Intel Cluster, prendergast2, 05/01/2004
Archive powered by MHonArc 2.6.16.