Hello,

  for those of you who think about trying out to compile and link mom4 
with the Intel compiler:
If you are not in the lucky situation of having a NetCDF and udunits 
library available on the system it might be useful to know that 
some information about how to install NetCDF and udunits is provided at

   http://www.unidata.ucar.edu/packages/netcdf/other-builds.html

in chapter "Intel ifc Fortran 95 compile"

I applied the cfortran.h patch provided there to a cfortran.h shipped with 
the udunits-1.11.7 lib.

Before running the configure script I set an environment variable CPPFLAGS 
to -DINTEL_COMPILER (setenv CPPFLAGS -DINTEL_COMPILER).

For generating the NetCDF-3.4(!) lib I followed the instruction given on 
the above mentioned page.

Since I have not yet installed the MPI library on my laptop I only tested 
the sequential version. mom4 (test1) runs successfully, netCDF out put is 
written, but there are some remaining problems with writing out the 
restart. An I/O error occurs (wrong length record) when reading
ocean_tracer.res_temp_tmp.

tests 2 and 3 fail because the environment variable UDUNITS_PATH is not 
recognized by the executable. printenv just before starting the 
executable shows the correct value.) 

This work does not have highest priority, but if someone has encountered 
similar problems and has already found a solution I would be happy to know 
about it.

Rene


   _______________________________________________________________

      Ren� Redler
      C&C Research Laboratories
      NEC Europe Ltd.                   Tel: +49 (0)2241 925240
      Rathausallee 10                   Fax: +49 (0)2241 925299 
      53757 Sankt Augustin              URL: www.ccrl-nece.de/~redler
   _______________________________________________________________



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
FMS-mom4 mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fms-mom4

Reply via email to