Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Source from: svn co https://svn.oss.deltares.nl/repos/delft3d/trunk delft3trunk

cd /sw/Delft3D/src
unzip D3D_trunk.zip
>>>>>>>>>>>
chmod +x ./scripts_lgpl/linux/update_version.sh
chmod +x ./scripts_lgpl/linux/make_revision.sh
>>>>>>>>>>>>
module load intel-ComposerXE/2015.2.164
module load intel-mpi/5.0.3.048
module load compilers/autoconf-2.69
#module load NetCDF/4.2.1.1
module load NetCDF/4.3.3.1-intel_2015
#export NETCDF_CFLAGS=/sw/NetCDF/4.2.1.1/include
export NETCDF_CFLAGS=/sw/NetCDF/4.3.3.1/ComposerXE2015/include
#export NETCDF_LIBS=/sw/NetCDF/4.2.1.1/lib
export NETCDF_LIBS=/sw/NetCDF/4.3.3.1/ComposerXE2015/lib
export I_MPI_F90=ifort
export I_MPI_F77=ifort
export UUIDLIBS_ADDITIONAL="/lib64/libuuid.so.1"
export UUIDLIBS=/lib64/libuuid.so.1
cd /sw/Delft3D/src/trunk2/src
sh autogen.sh -v 2>&1 | tee autoconfigLog.txt
CFLAGS='-O2' CXXFLAGS='-O2' FFLAGS='-O2' FCFLAGS='-O2' ./configure --prefix=/sw/Delft3D/unknown 2>&1 | tee configureLog.txt

>>>>>>>After the above step, add -luuid in the Makefile>>>>>
 vi Makefile

FCLIBS =   -L/sw/NetCDF/4.3.3.1/ComposerXE2015/lib:-L/sw...............snop ......-ldl -luuid

>>>>>>>>>

 make 2>&1 | tee makeLog.txt
 

...