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_config.sh in trunk/NEMOGCM/TOOLS/COMPILE – NEMO

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

Last change on this file since 7646 was 7646, checked in by timgraham, 5 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 *
  • Property svn:keywords set to Id
File size: 929 bytes
Line 
1#!/bin/bash
2#set -x
3set -o posix
4#set -u
5#set -e
6#+
7#
8# ===============
9# Fmake_config.sh
10# ===============
11#
12# ---------------
13# Make the config
14# ---------------
15#
16# SYNOPSIS
17# ========
18#
19# ::
20#
21#  $ Fmake_config.sh
22#
23#
24# DESCRIPTION
25# ===========
26#
27#
28# - Make the config directory
29# - Create repositories needed :
30
31#  - EXP00 for namelist
32#  - MY_SRC for user sources
33#  - BLD for compilation
34#
35# EXAMPLES
36# ========
37#
38# ::
39#
40#  $ ./Fmake_config.sh CONFIG_NAME REF_CONFIG_NAME
41#
42#
43# TODO
44# ====
45#
46# option debug
47#
48#
49# EVOLUTIONS
50# ==========
51#
52# $Id$
53#
54#
55#
56#   * creation
57#
58#-
59\mkdir  ${1}
60\mkdir  ${1}/EXP00
61\mkdir  ${1}/MY_SRC
62\cp -R  ${2}/cpp_${2}.fcm ${1}/cpp_${1}.fcm
63\cp -R  ${2}/EXP00/*namelist* ${1}/EXP00/.
64\cp -R  ${2}/EXP00/*.xml ${1}/EXP00/.
65[ -f ${2}/EXP00/AGRIF_FixedGrids.in ] &&  \cp -R  ${2}/EXP00/AGRIF_FixedGrids.in ${1}/EXP00/.
66[ -d    ${2}/MY_SRC ] && \c${2}/MY_SRC/* ${1}/MY_SRC/. 2> /dev/null
Note: See TracBrowser for help on using the repository browser.