[MITgcm-devel] Compiler problems with CRAY

Gianmaria Sannino gianmaria.sannino at casaccia.enea.it
Thu Jul 22 14:50:11 EDT 2004


Ciao Chris,

YES! now it works...thanks

gianmaria


On Thu, 22 Jul 2004, Chris Hill wrote:



>  Hi
> 
>  Gianmaria can yu try deleting the two lines
>  #include "MAIN_PDIRECTIVES1.h"
>  and
>  #include "MAIN_PDIRECTIVES2.h"
> 
>  from the file main.F and see what happens.
> 
> Thanks,
> 
> Chris
> 
> > -----Original Message-----
> > From: mitgcm-devel-bounces at mitgcm.org 
> > [mailto:mitgcm-devel-bounces at mitgcm.org] On Behalf Of Patrick Heimbach
> > Sent: Thursday, July 22, 2004 12:32 AM
> > To: mitgcm-devel at mitgcm.org
> > Cc: sannino at ocean.mit.edu
> > Subject: [MITgcm-devel] (no subject)
> > 
> > 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
> > 
> > _______________________________________________
> > MITgcm-devel mailing list
> > MITgcm-devel at mitgcm.org
> > http://dev.mitgcm.org/mailman/listinfo/mitgcm-devel
> > 
> 
> 

******************************************************
Gianmaria Sannino   
ENEA (Italian Agency for Energy and Environment)
Climate Project - Ocean Modelling Unit 
SP 91 - via Anguillarese 301
S.M. di Galeria, 00060 ROMA, ITALY
Voice: (+39) 06 3048 6799   Fax: (+39) 06 3048 4264
e-mail: gianmaria.sannino at casaccia.enea.it
e-mail: sannino at ocean.mit.edu
URL: http://clima.casaccia.enea.it/staff/sannino/
******************************************************



 __/ __/ __/ __/ __/ __/ __/ __/ __/ __/ __/ __/ __/ __/ __/ 

'It is an understandable human inclination to hope that what 
  we cannot do is unimportant' 
                  			J. Pedlosky
 __/ __/ __/ __/ __/ __/ __/ __/ __/ __/ __/ __/ __/ __/ __/







More information about the MITgcm-devel mailing list