Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CHiPS
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
external
CHiPS
Commits
a9e8b22d
Commit
a9e8b22d
authored
5 years ago
by
Gab
Browse files
Options
Downloads
Patches
Plain Diff
download and compiles
parent
d3c0b133
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NEMO/compile.sh
+27
-3
27 additions, 3 deletions
NEMO/compile.sh
NEMO/download.sh
+1
-0
1 addition, 0 deletions
NEMO/download.sh
with
28 additions
and
3 deletions
NEMO/compile.sh
+
27
−
3
View file @
a9e8b22d
# XIOS Compilation
#!/bin/bash
if
[
-z
"
$1
"
]
then
echo
"Please provide the targeted machine from:"
ls
machines/
echo
""
echo
"Example: ./compile.sh occigen-bdw"
exit
1
fi
env_file
=
"machines/
$1
/env_bench"
if
[
!
-f
$env_file
]
then
echo
"ERROR:
$env_file
not found!"
exit
1
else
source
$env_file
fi
#xios-2.5 directory must be a sub-directory of NEMO/release-4.0
# 1. Prepare an arch file for the target machine
#./make_xios --arch X64_IRENE -j 8
#cp machines/$1/arch-XIOS.fcm xios-2.5/arch/arch-$1.fcm
#cd xios-2.5
#./make_xios --arch $1 -j 8
#cd -
#NEMO
#create a configuration file for the targeted machine ( i.e. irene) arch-irene.fcm
# lancement de la compilation pour BENCH
cp
machines/
$1
/arch-NEMO.fcm release-4.0/arch/arch-
$1
.fcm
cd
release-4.0
./makenemo
-m
irene
-a
BENCH
-v3
./makenemo
-m
$1
-a
BENCH
-v3
#
# Find the produced exec
#
...
...
This diff is collapsed.
Click to expand it.
NEMO/download.sh
+
1
−
0
View file @
a9e8b22d
# NEMO 4.0
tar
-xvf
src/NEMO-release-4.0.tar
#XIOS
#module load subversion
#svn co https://forge.ipsl.jussieu.fr/ioserver/svn/XIOS/branchs/xios-2.5
#
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment