Commit 4a18a590 authored by HOURDIN Christophe's avatar HOURDIN Christophe
Browse files

create branch asap_v1.00 - remake Steph ASAP2020 1985M1 2tsp with croco_locean...

create branch asap_v1.00 - remake Steph ASAP2020 1985M1 2tsp with croco_locean v1.00 in pulsation's Env without partit/ncjoin
parent afa1bb4f
......@@ -124,6 +124,7 @@ include Makedefs
cpl_prism_define.F cpl_prism_put.F cpl_prism_init.F\
cpl_prism_get.F cpl_prism_getvar.F cpl_prism_grid.F\
SRCS90 = \
par_pisces.F90 ocean2pisces.F90 trc.F90 sms_pisces.F90\
p4zche.F90 p4zint.F90 p4zlys.F90 p4zflx.F90\
......@@ -149,6 +150,8 @@ include Makedefs
module_oa_upd.F90 croco_oa.F90 var_oa.F90\
\
tooldatosec.F90 toolsectodat.F90 tooldecompdat.F90
\
AMRDIR = AGRIF/AGRIF_YOURFILES
......@@ -174,18 +177,20 @@ AMRDIR = AGRIF/AGRIF_YOURFILES
%.mod : %.o
@touch $@
#
# Everything
# ==========
all: tools depend $(SBIN)
#
# Executable file.
# ========= =====
#
$(SBIN): $(OBJS90) $(OBJS)
$(LDR) $(FFLAGS) $(LDFLAGS) -o a.out $(OBJS90) $(OBJS) $(LCDF) $(LMPI)
mv a.out $(SBIN)
mv a.out $(SBIN)
#
# Everything
# ==========
all: tools depend $(SBIN)
#
# Auxiliary utility programs and List of Dependecies:
# ========= ======= ======== === ==== == ============
......@@ -224,17 +229,27 @@ checkdefs: check_switches1.F setup_kwds.F
check_switches1.F: cppcheck cppdefs.h
cat cppdefs.h cppdefs_dev.h > mergcpp.txt
./cppcheck
check_srcs.F: srcscheck Makefile
./srcscheck
setup_kwds.F: checkkwds read_inp.F
./checkkwds
partit: partit.o insert_node.o lenstr.o
$(LDR) $(FFLAGS) $(LDFLAGS) -o partit partit.o insert_node.o lenstr.o $(LCDF)
ncjoin: ncjoin.o lenstr.o
partit: partit.F insert_node.o lenstr.o
$(CPP) -P $(CPPFLAGS) partit.F > partit._.f
$(CFT) -c $(FFLAGS) partit._.f -o partit.o
$(LDR) $(FFLAGS) $(LDFLAGS) -o partit partit.o insert_node.o lenstr.o $(LCDF)
ncjoin: ncjoin.F lenstr.o
$(CPP) -P $(CPPFLAGS) ncjoin.F | ./mpc > ncjoin._.f
$(CFT) -c $(FFLAGS) ncjoin._.f -o ncjoin.o
$(LDR) $(FFLAGS) $(LDFLAGS) -o ncjoin ncjoin.o lenstr.o $(LCDF)
ncrename: ncrename.o lenstr.o
ncrename: ncrename.F lenstr.o
$(CPP) -P $(CPPFLAGS) ncrename.F | ./mpc > ncrename._.f
$(CFT) -c $(FFLAGS) ncrename._.f -o ncrename.o
$(LDR) $(FFLAGS) $(LDFLAGS) -o ncrename ncrename.o lenstr.o $(LCDF)
depend: checkdefs cross_matrix
......
......@@ -9,7 +9,7 @@ export STOREDIR=${CCCSTOREDIR}
# Models :
#-------------------------------------------------------------------------------
# croco
export CROCO_SOURCE="${SCRATCHDIR}/croco_v1.00_orig/OCEAN"
export CROCO_SOURCE="${WORKDIR}/croco_v1.00_orig/OCEAN"
export CROCO_SCRATCH="${SCRATCHDIR}/croco_scratch"
export MPIF90="mpif90"
export FC="ifort"
......
......@@ -9,7 +9,7 @@ export STOREDIR=${CCCSTOREDIR}
# Models :
#-------------------------------------------------------------------------------
# croco
export CROCO_SOURCE="${SCRATCHDIR}/croco_v1.00_orig/OCEAN"
export CROCO_SOURCE="${WORKDIR}/croco_v1.00_orig/OCEAN"
export CROCO_SCRATCH="${SCRATCHDIR}/croco_scratch"
export MPIF90="mpif90"
export FC="ifort"
......
......@@ -9,7 +9,7 @@ export STOREDIR=${STORE}
# Models :
#-------------------------------------------------------------------------------
# croco
export CROCO_SOURCE="${SCRATCHDIR}/croco_v1.00_orig/OCEAN"
export CROCO_SOURCE="${WORKDIR}/croco_v1.00_orig/OCEAN"
export CROCO_SCRATCH="${SCRATCHDIR}/croco_scratch"
export MPIF90="mpiifort"
export FC="ifort"
......
......@@ -9,7 +9,7 @@
# BOUNDARY
echo "BOUNDARY files :"
lnfile ${INDIR}/bry/asap2020_bry_ORCA2_Y${YEAR_BEGIN_JOB}M${MONTH_BEGIN_JOB}.nc croco_bry.nc
lnfile ${INDIR}/bry/asap_bry_ORCA2_Y${YEAR_BEGIN_JOB}M${MONTH_BEGIN_JOB}.nc croco_bry.nc
echo ""
# BULK ONLINE
......@@ -24,14 +24,14 @@ echo ""
# files that depend on AGRIF
#-------------------------------------------------------------------------------
[ ${AGRIFZ} -ge 1 ] && echo "AGRIF : AGRIF_FixedGrids.in" && lnfile ${INDIR}/grd/asap2020_AGRIF_FixedGrids.in AGRIF_FixedGrids.in
[ ${AGRIFZ} -ge 1 ] && echo "AGRIF : AGRIF_FixedGrids.in" && lnfile ${INDIR}/grd/asap_AGRIF_FixedGrids.in AGRIF_FixedGrids.in
# GRID (bathy & coordinates)
echo "GRID (bathy & coordinates) files :"
for nn in $( seq 0 ${AGRIFZ} ); do
[ ${nn} -eq 0 ] && suff="" || suff=".${nn}"
lnfile ${INDIR}/grd/asap2020_grd.nc${suff} croco_grd.nc${suff}
lnfile ${INDIR}/grd/asap_grd.nc${suff} croco_grd.nc${suff}
done
echo ""
......@@ -40,7 +40,7 @@ echo ""
#echo "BULK files :"
#for nn in $( seq 0 ${AGRIFZ} ); do
# [ ${nn} -eq 0 ] && suff="" || suff=".${nn}"
# lnfile ${INDIR}/blk/asap2020_blk.nc${suff} croco_blk.nc${suff}
# lnfile ${INDIR}/blk/asap_blk.nc${suff} croco_blk.nc${suff}
#done
#echo ""
......@@ -49,7 +49,7 @@ echo ""
#echo "FORCING files :"
#for nn in $( seq 0 ${AGRIFZ} ); do
# [ ${nn} -eq 0 ] && suff="" || suff=".${nn}"
# lnfile ${INDIR}/frc/asap2020_frc.nc${suff} croco_frc.nc${suff}
# lnfile ${INDIR}/frc/asap_frc.nc${suff} croco_frc.nc${suff}
#done
#echo ""
......@@ -58,7 +58,7 @@ echo ""
echo "RUNOFF files :"
for nn in $( seq 0 ${AGRIFZ} ); do
[ ${nn} -eq 0 ] && suff="" || suff=".${nn}"
lnfile ${INDIR}/runoff/asap2020_runoff.nc${suff} croco_runoff.nc${suff}
lnfile ${INDIR}/runoff/asap_runoff.nc${suff} croco_runoff.nc${suff}
done
echo ""
......@@ -68,7 +68,7 @@ if ${USE_BIOLOGY} ; then
echo "FORCING BIO files :"
for nn in $( seq 0 ${AGRIFZ} ); do
[ ${nn} -eq 0 ] && suff="" || suff=".${nn}"
lnfile ${INDIR}/frcbio/pisces/asap2020_frcbio.nc${suff} croco_frcbio.nc${suff}
lnfile ${INDIR}/frcbio/pisces/asap_frcbio.nc${suff} croco_frcbio.nc${suff}
cpfile ${JOBDIR}/${ASCII_DIR_IMG_ROOT}/param_inputs/kRGB61.txt${suff} kRGB61.txt${suff}
cpfile ${JOBDIR}/${ASCII_DIR_IMG_ROOT}/param_inputs/namelist_pisces_cfg${suff} namelist_pisces_cfg${suff}
cpfile ${JOBDIR}/${ASCII_DIR_IMG_ROOT}/param_inputs/namelist_pisces_ref${suff} namelist_pisces_ref${suff}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment