source: branches/2018/dev_v3.20_2018_jerome_et_sarah/MAKE/config_lim1d.sh @ 67

Last change on this file since 67 was 67, checked in by sgani, 6 years ago

modifications to make the model run

File size: 1.2 KB
Line 
1#!/bin/sh
2set -xv
3LIMDIR="/usr/home/sgani/branches/2018/LIM1D/dev_v3.20_2018_jerome_et_sarah/SOURCES/source_3.20/"
4archfile=./gfortran_cratos.inc
5KEY_LIM=""
6cppdefs="${KEY_LIM}"
7
8#---------------------------------------------------------------------
9# other flags
10#---------------------------------------------------------------------
11oflags=""
12exe=lim1d.x
13
14#---------------------------------------------------------------------
15#create source file lists and exit
16#---------------------------------------------------------------------
17if [ $1 == "SRC" ]; then
18   find ${LIMDIR} -name "*.[fF]" -print > LIM_SRC.lst
19   find ${LIMDIR} -name "*.com" -print >> LIM_SRC.lst
20exit 0
21fi
22
23#---------------------------------------------------------------------
24# get common blocks
25#---------------------------------------------------------------------
26cp ${LIMDIR}/*.com .
27
28#---------------------------------------------------------------------
29# make makefile                                                                                                   
30#---------------------------------------------------------------------
31./mkmf -c "${cppdefs}" -o "${oflags}" -t ${archfile} -p ${exe} LIM_SRC.lst
Note: See TracBrowser for help on using the repository browser.