...
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.3.3.1-intel_2015 export NETCDF_CFLAGS=/sw/NetCDF/4.3.3.1/ComposerXE2015/include 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...............snip ......-ldl -luuid >>>>>>>>> make all 2>&1 | tee makeLog.txt make install all 2>&1 | tee makeInstallLog.txt |
Sample pbs script
Sample script to run on flashlite cluster
No Format |
---|
#! /bin/bash
### Template PBS script to submit Delft3d job to queue gccm
#PBS -m e
#PBS -N 3d12wvnew
#PBS -l walltime=200:00:00
#PBS -l nodes=1:ppn=4:intel,mem=30gb,vmem=30gb
#PBS -A qris-gu
source $HOME/.bashrc
module load delft3d-rev5624
cd /gpfs1/groups/gccmss/project/delft3d/3D/12waves_3_new/
##input data file
export MDWFILE=fm_wave_bcw.mdw
export ARGFILE=config_flow2d3d.xml
## RUN ##
# start flow
echo "=== start Delft3D-FLOW in the background ==="
#$MPIRUNEXEC -np $NHOSTS d_hydro.exe $ARGFILE &
#deltares_hydro.exe $ARGFILE -keepXML &
#deltares_hydro.exe $ARGFILE &
d_hydro.exe $ARGFILE &
# start wave
echo "=== start Delft3D-WAVE in the background ==="
#$MPIRUNEXEC -np $NHOSTS wave.exe $MDWFILE 1
wave.exe $MDWFILE 1
echo "=== calculation finished ==="
echo "Finished job "`date`
|