FVCOM2.6.1 serial compile and run on FX10@cc.u-tokyo.ac.jp

Table of Contents

Compiling FVCOM for serial run

On Fx10, you will use Fujitsu compilers. The following setting in makefile will work.

Netcdf setting


FLAG_6 = -DNETCDF_IO
IOLIBS = -L/usr/local/netCDF/4.1.1/lib -lnetcdf
IOINCS = -I/usr/local/netCDF/4.1.1/include

Compiler setting


CPPFLAGS = $DEF_FLAGS -DGFORTRAN
CPP = /usr/bin/cpp
FC = frtpx # in login mode, = frt in interactive job mode
DEBFLAGS =
OPT = -Kfast
# in case of automatic parallel mode,
# use -Kfast,parallel (no space before and after the comma)

Running serial FVCOM on Interactive Job Mode

First you need to enter an interactive job mode. There is limitation of elapsed time of 2 hours on 1 node for using the interactive job mode. So if you like to execute longer job, you need to use batch job mode.


$ pjsub --interact
$ ./fvcom tst
$ exit # End of interactive job and back to login node

Running serial FVCOM on Batch Job Mode

Prepare a job script referring to the following examples:

serial.sh


#!/bin/sh
#PJM -L ”rscgrp=short”
#PJM -L ”node=1”
#PJM -L ”elapse=1:00:00”
#PJM -j
./fvcom tst

Then submit this job on login node and check the job status as follows:

$ pjsub serial.sh # submit your job
$ pjstat # check your job status

Standard outputs will be stored in serial.sh.o****** where ****** is a unique number.

FVCOM2.6.1 serial compile and run on FX10@cc.u-tokyo.ac.jp” に対して2件のコメントがあります。

  1. admin より:

    The netCDF installation directory may change.

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください