Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
please-install
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
atlas
please-install
Commits
7fa9c91c
Commit
7fa9c91c
authored
Sep 17, 2018
by
Vincent Chabannes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
up feelpp script
parent
4ca5a066
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
feelpp/install.sh
feelpp/install.sh
+11
-2
feelpp/module_lib.tmpl
feelpp/module_lib.tmpl
+2
-1
No files found.
feelpp/install.sh
View file @
7fa9c91c
...
...
@@ -3,6 +3,7 @@
source
../common.sh
LIB_VERSION
=
develop
#LIB_VERSION=v0.105.0 #v0.104.0
GCC_VERSION
=
6.4.0
MPI_LIB
=
openmpi
MPI_VERSION
=
1.10.7
#2.1.1 #1.10.7
...
...
@@ -54,10 +55,12 @@ if [[ ! -d $SRC_DIR/feelpp ]]; then
mkdir
-p
$SRC_DIR
cd
$SRC_DIR
git clone
$GIT_URL
cd
$SRC_DIR
/feelpp
git checkout
$LIB_VERSION
else
cd
$SRC_DIR
/feelpp
&&
git
pull
cd
$SRC_DIR
/feelpp
&&
git
checkout develop
&&
git pull
&&
git checkout
$LIB_VERSION
fi
cd
$SRC_DIR
/feelpp
&&
git submodule update
--init
--recursive
git submodule update
--init
--recursive
rm
-rf
$BUILD_LIB_DIR
mkdir
$BUILD_LIB_DIR
...
...
@@ -137,7 +140,13 @@ install_module_lib()
export
LIB_VERSION
export
INSTALL_LIB_DIR
export
FEELPP_PROFILE
module purge
module load
${
FEELPP_PROFILE
}
export
FEELPP_LOAD_MODULES
=
$(
module list 2>&1 | perl
-pe
's/ *\)* /\n/g'
|
sed
'/^\s*$/d'
|
sed
'/[0-9][)][ ]/!d'
|
sort
-n
|
sed
's/[0-9]*[)][ ]//g'
|
sed
's/^[ \t]*//'
|
sed
"s/
$(
echo
${
FEELPP_PROFILE
}
)
//g"
|
sed
'/^\s*$/d'
|
sed
's/^/module load /'
)
envtpl
--keep-template
-o
$MODULE_LIB_PATH
module_lib.tmpl
}
install_module_quickstart
()
...
...
feelpp/module_lib.tmpl
View file @
7fa9c91c
...
...
@@ -19,5 +19,6 @@ prepend-path LIBRARY_PATH $prefix/lib
setenv FEELPP_DIR $prefix
if [module-info mode load] {
module load {{ FEELPP_PROFILE }}
# module load {{ FEELPP_PROFILE }}
{{ FEELPP_LOAD_MODULES }}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment