= Installation with Intel Fortran = {{{}}} === Generic information for compiling with FCM === {{{ Edit $basepath/nemo/fcmconfig/bld/$compil_target/nemo.cfg and $basepath/nemovar/fcmconfig/bld/$compil_target/nemo.cfg according to your compiler and the path to netcdf, then $ cd $chemin/nemovar/build $ ./fcmvmake.ksh -t $basepath -c $compil_target }}} === Miscellaneous useful informations === - NetCDF : useful tips on the [http://www.unidata.ucar.edu/software/netcdf/docs/other-builds.html unidata] server, [http://www.unidata.ucar.edu/software/netcdf/docs/known_problems.html known problems] - [[Color(yellow, brown, $basepath)]] refers to the path where the source code lies - [[Color(yellow, brown, $compil_target)]] is a user defined name, referring to the compilation environment. - Useful : the ROMS Mac [https://www.myroms.org/wiki/index.php/ROMS_Mac installation page] == Generating NETCDF modules and library == The following script is executed in the directory netcdf-3.6.1/src The compilers come from the intel web site, and installed on a Mac OS X 10.5.8 (Leopard). Flags avoid conflicts between C and Fortran during the library compilation. {{{ #!/bin/sh export FC=ifort export F90=ifort export F77=ifort export CFLAGS='-O3' export CC=icc export CXX=icpc export CPPFLAGS=' -DNDEBUG -DpgiFortran' ./configure --prefix=/usr/local/netcdf-3.6.1/intel }}}