Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Y
YACO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mpim-sw
YACO
Commits
cd63ce06
Commit
cd63ce06
authored
4 months ago
by
Siddhant Tibrewal
Browse files
Options
Downloads
Patches
Plain Diff
added cray c++ compiler wraper for lumi build scripts
parent
66dabcdf
Branches
release-0.5.1
Tags
v0.5.1
1 merge request
!46
Build process for multiple compilers across different machines
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
scripts/setup/build-dependencies.sh
+1
-1
1 addition, 1 deletion
scripts/setup/build-dependencies.sh
scripts/setup/lumi.cce-16.0.1.sh
+1
-0
1 addition, 0 deletions
scripts/setup/lumi.cce-16.0.1.sh
scripts/setup/lumi.cce-17.0.1.sh
+2
-1
2 additions, 1 deletion
scripts/setup/lumi.cce-17.0.1.sh
with
4 additions
and
2 deletions
scripts/setup/build-dependencies.sh
+
1
−
1
View file @
cd63ce06
...
...
@@ -55,7 +55,7 @@ function clone_to {
# invoke with the specified FC, CC and CXX if they are present as variables
function
invoke_build_script_generation
{
if
[
-n
"
${
CC
}
"
]
||
[
-n
"
${
CXX
}
"
]
||
[
-n
"
${
FC
}
"
]
;
then
echo
"env CC=
${
CC
:-
$CC
}
CXX=
${
CXX
:-
$CXX
}
FC=
${
FC
:-
$FC
}
"
$@
""
echo
"
invoking..
env CC=
${
CC
:-
$CC
}
CXX=
${
CXX
:-
$CXX
}
FC=
${
FC
:-
$FC
}
"
$@
""
env
CC
=
${
CC
:-
$CC
}
CXX
=
${
CXX
:-
$CXX
}
FC
=
${
FC
:-
$FC
}
"
$@
"
else
"
$@
"
...
...
This diff is collapsed.
Click to expand it.
scripts/setup/lumi.cce-16.0.1.sh
+
1
−
0
View file @
cd63ce06
...
...
@@ -29,6 +29,7 @@ module load PrgEnv-cray cce/16.0.1.1 craype-x86-milan cray-mpich cray-hdf5 cray-
unset
INCLUDE_PATH_X86_64
export
CC
=
"cc"
export
CXX
=
"CC"
export
FC
=
"ftn"
THREADS
=
8
...
...
This diff is collapsed.
Click to expand it.
scripts/setup/lumi.cce-17.0.1.sh
+
2
−
1
View file @
cd63ce06
...
...
@@ -29,9 +29,10 @@ module load PrgEnv-cray cce/17.0.1 craype-x86-milan cray-mpich/8.1.29 cray-hdf5
unset
INCLUDE_PATH_X86_64
export
CC
=
"cc"
export
CXX
=
"CC"
export
FC
=
"ftn"
THREADS
=
8
THREADS
=
64
BUILD_PATH
=
$ABSOLUTE_YACO_ROOT
/build/
$COMPILER
INSTALL_PATH
=
$BUILD_PATH
/install
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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