[MITgcm-devel] (no subject)

Patrick Heimbach heimbach at MIT.EDU
Thu Jul 22 00:31:43 EDT 2004


Hi Chris,

Gianmaria has set up the code on a Cray SV1,
and is trying to compile in -O3, that means
optimize for vectorization.
The setup is 1 processor and MPI turned off in rhe preprocessor
(Gianmaria, is that correct?)

Below is the error that he's getting during compile time
(in optim. level -O1 everything was OK).

My assumption is that some #ifdef needs to be set
properly in CPP_EEOPTIONS.h. Any idea?
Or should it be compiled with MPI even for 1 proc?

Cheers
-p.



About CRAY, I fixed the problem with the I/O units, but after compiled
with the -O3 optimization (vectorization) it appears another problem, this
time during the compilation of MAIN.F: 

f90  -O3 -c main.f

        IF ( .NOT. eeBootError ) THEN
                   ^                  
f90-960 f90: ERROR MAIN, File = main.f, Line = 3205, Column = 20 
  Variable "EEBOOTERROR" is in a parallel region and must be in the shared
or private list if autoscope is not specified.

        threadIsComplete(myThid) = .TRUE.
        ^                                 
f90-960 f90: ERROR MAIN, File = main.f, Line = 3215, Column = 9 
  Variable "THREADISCOMPLETE" is in a parallel region and must be in the
shared or private list if autoscope is not specified.



--------------------------------------------------------
Patrick Heimbach   Massachusetts Institute of Technology
FON: +1/617/253-5259                  EAPS, Room 54-1518
FAX: +1/617/253-4464             77 Massachusetts Avenue
mailto:heimbach at mit.edu               Cambridge MA 02139
http://www.mit.edu/~heimbach/                        USA




More information about the MITgcm-devel mailing list