FVCOM 2.6.1 on HA8000@hakozaki using Intel compilers

Table of Contents

Change the shell

The login shell on HA8000@hakozaki is tcsh. First change it to bash:

[cc] $ bash [/cc]

Compile METIS

Edit the makefile as follows:


AR = xiar rv
CC = icc

And then, compile as follows:
[cc] $ make [/cc]

Compile FVCOM

Edit the setting for netcdf and compilation in makefile. netcdf should be installed before FVCOM compilation. The setting for MPI Intel compiler should be as follows:

CPP = /usr/bin/cpp
FC = mpiifort
OPT = -O3 -ipo -no-prec-div

makedepf90 should be installed and then makedepends should be created. mpi.h should be deleted if existed.

$ rm makedepends
$ rm mpi.h
$ touch makedepends
$ make depend

Now you can compile:

[cc] $ make [/cc]

After creating an executable file of fvcom, copy it onto ./run/:

[cc] $ cp fvcom ../run/ [/cc]

Edit the bat script run_mpi.sh for execution. Following is an example for debugging:

#@$-q ha-dbg
#@$-N 32
#@$-J T24
#@$-lE 1:00:00
cd ~/FVCOM2.6.1/run
mpirun -machinefile $PBS_NODEFILE -n $PBS_NP ./fvcom tst_run


Now you can execute on bat mode:

[cc] $ qsub run_mpi.sh [/cc]

You can check the job status using qstat:

$ qstat ### check the status of your jobs
$ qstat -b ### check the status of all of the jobs

FVCOM 2.6.1 on HA8000@hakozaki using Intel compilers” に対して1件のコメントがあります。