The OASIS Coupler Forum

  HOME

Installation of oasis_mct on ada.idris.fr. IBM machine with Intel compiler

Up to Installation and compilation

Posted by Anonymous at February 18 2014

Dear friends, 

Who installed succesfully oasis-mct on ada.idris.fr. The compiler to used is the Intel compiler (mpiifort) and not the AIX compiler (mpxlf_90). Compilation stopped with this message : USE netcdf 1 Fatal Error: File 'netcdf.mod' opened at (1) is not a GFORTRAN module file gfortran appears during configure step. I don't want to use gfortran in any case. ... checking for Fortran libraries of mpif90... -L/opt/intel/impi/4.1.0.024/intel64/lib -L/usr/lib/gcc/x86_64-redhat-linux/4.4.6 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/gpfs4l/smplocal/intel/composer_xe_2013.1.117/compiler/lib/intel64 -L/gpfs4l/smplocal/intel/composer_xe_2013.1.117/ipp/../compiler/lib/intel64 -L/gpfs4l/smplocal/intel/composer_xe_2013.1.117/ipp/lib/intel64 -L/gpfs4l/smplocal/intel/composer_xe_2013.1.117/mkl/lib/intel64 -L/gpfs4l/smplocal/intel/composer_xe_2013.1.117/tbb/lib/intel64 -L/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../.. -ldl -lmpi_dbg -lmpigf -lmpigi -lrt -lpthread -lgfortranbegin -lgfortran -lm ... 

Marie-Alice

Posted by Anonymous at February 19 2014

Hello Marie-Alice Anonymous,
 
I didn't compile OASIS3-MCT on ada yet, but OASIS3. You can find make.inc file here: /gpfs5r/workgpfs/rech/ost/rost836/oasis3/util/make_dir/make.ada and I pre-loaded netcdf/mpi/4.1.3. It seems that mpiifort provides the right paths to netcdf include files and libraries ... 

Eric

Posted by Anonymous at February 27 2014

Finally I could compile and run the model on ADA at IDRIS using the attached file make_X64_ADA. I also had to define:

LD_LIBRARY_PATH=$LD_LIBRARY_PATH: /smplocal/pub/NetCDF/4.1.3/mpi/lib:/smplocal/pub/HDF5/1.8.9/par/lib

and rename some variables:
DRIVER/oasis.driver:    ncrename -v OIceFrac,OIceFrc sstoc.nc > /dev/null 2>&1
DRIVER/pisces.driver:            ncrename -v TRBDSi,TRBGSi -v TRNDSi,TRNGSi -v TRNBSi,TRNDSi -v TRBBSi,TRBDSi ${file} > /dev/null 2>&1

Marie-Alice
Reply to this