New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Fmake_extconfig.sh in branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/TOOLS/COMPILE – NEMO

source: branches/2015/dev_r5092_CNRS_SETTE/NEMOGCM/TOOLS/COMPILE/Fmake_extconfig.sh @ 5453

Last change on this file since 5453 was 4990, checked in by timgraham, 9 years ago

Merged branches/2014/dev_MERGE_2014 back onto the trunk as follows:

In the working copy of branch ran:
svn merge svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk@HEAD
1 conflict in LIM_SRC_3/limdiahsb.F90
Resolved by keeping the version from dev_MERGE_2014 branch
and commited at r4989

In working copy run:
svn switch svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk
to switch working copy

Run:
svn merge --reintegrate svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/branches/2014/dev_MERGE_2014
to merge the branch into the trunk - no conflicts at this stage.

  • Property svn:executable set to *
File size: 1.4 KB
Line 
1#!/bin/bash
2#set -x
3set -o posix
4#set -u
5#set -e
6#+
7# ===============
8# Fmake_extconfig.sh
9# ===============
10# ---------------
11# Make the directories for an externally supported configuration
12# and base the initial versions on the nearest equivalent from the
13# reference set (as named in uspcfg.txt)
14# ---------------
15# SYNOPSIS
16# ========
17# ::
18#  $ Fmake_extconfig.sh
19# DESCRIPTION
20# ===========
21# - Make the config directory
22# - Create repositories needed :
23#  - EXP00 for namelist
24#  - MY_SRC for user sources
25#  - BLD for compilation
26# EXAMPLES
27# ========
28# ::
29#  $ ./Fmake_extconfig.sh CONFIG_NAME REF_CONFIG_NAME
30# TODO
31# ====
32# option debug
33# EVOLUTIONS
34# ==========
35# $Id: Fmake_extconfig.sh 3715 2012-11-28 16:06:02Z acc $
36#   * creation
37#-
38\mkdir  ${1}
39\mkdir  ${1}/EXP00
40\mkdir  ${1}/MY_SRC
41\cp -R  ${2}/cpp_${2}.fcm ${1}/cpp_${1}.fcm
42\cp -R  ${2}/EXP00/*namelist* ${1}/EXP00/.
43[ -f ${2}/EXP00/AGRIF_FixedGrids.in ] &&  \cp -R  ${2}/EXP00/AGRIF_FixedGrids.in ${1}/EXP00/.
44[ -f ${2}/EXP00/iodef.xml ]           &&  \cp -R  ${2}/EXP00/iodef.xml ${1}/EXP00/.
45[ -f ${2}/EXP00/field_def.xml ]       &&  \cp -R  ${2}/EXP00/field_def.xml ${1}/EXP00/.
46[ -f ${2}/EXP00/domain_def.xml ]      &&  \cp -R  ${2}/EXP00/domain_def.xml ${1}/EXP00/.
47[ -f ${2}/EXP00/xmlio_server.def ]    &&  \cp -R  ${2}/EXP00/xmlio_server.def ${1}/EXP00/.
48[ -d    ${2}/MY_SRC ]                 &&  \c${2}/MY_SRC/* ${1}/MY_SRC/. 2> /dev/null
Note: See TracBrowser for help on using the repository browser.