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 trunk/NEMOGCM/TOOLS/COMPILE – NEMO

source: trunk/NEMOGCM/TOOLS/COMPILE/Fmake_extconfig.sh @ 7646

Last change on this file since 7646 was 7646, checked in by timgraham, 7 years ago

Merge of dev_merge_2016 into trunk. UPDATE TO ARCHFILES NEEDED for XIOS2.
LIM_SRC_s/limrhg.F90 to follow in next commit due to change of kind (I'm unable to do it in this commit).
Merged using the following steps:

1) svn merge --reintegrate svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk .
2) Resolve minor conflicts in sette.sh and namelist_cfg for ORCA2LIM3 (due to a change in trunk after branch was created)
3) svn commit
4) svn switch svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk
5) svn merge svn+ssh://forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/branches/2016/dev_merge_2016 .
6) At this stage I checked out a clean copy of the branch to compare against what is about to be committed to the trunk.
6) svn commit #Commit code to the trunk

In this commit I have also reverted a change to Fcheck_archfile.sh which was causing problems on the Paris machine.

  • Property svn:executable set to *
File size: 1.1 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\cp -R  ${2}/EXP00/*.xml ${1}/EXP00/.
44[ -f ${2}/EXP00/AGRIF_FixedGrids.in ] &&  \cp -R  ${2}/EXP00/AGRIF_FixedGrids.in ${1}/EXP00/.
45[ -d    ${2}/MY_SRC ]                 &&  \c${2}/MY_SRC/* ${1}/MY_SRC/. 2> /dev/null
Note: See TracBrowser for help on using the repository browser.