Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/bin/bash
#set -x
set -o posix
#set -u
#set -e
#+
#
# ==============
# Fprep_agrif.sh
# ==============
#
# ---------------------
# Preparation for AGRIF
# ---------------------
#
# SYNOPSIS
# ========
#
# ::
#
# $ Fprep_agrif.sh
#
#
# DESCRIPTION
# ===========
#
#
# Prepare directories for AGRIF and copy files needed
#
# Compile the conv
#
# EXAMPLES
# ========
#
# ::
#
# $ ./Fprep_agrif.sh CONFIG_NAME
#
#
# TODO
# ====
#
# option debug
#
#
# EVOLUTIONS
# ==========
#
# $Id: Fprep_agrif.sh 14230 2020-12-20 12:46:41Z smasson $
#
#
#
# * creation
#
#-
#- AGRIF conv
if [ ! -f ${1}/ext/AGRIF/nemo_mpi.h ]; then
echo '#if ! defined key_mpi_off' > ${1}/ext/AGRIF/nemo_mpi.h
echo '#define AGRIF_MPI' >> ${1}/ext/AGRIF/nemo_mpi.h
echo '#endif' >> ${1}/ext/AGRIF/nemo_mpi.h