Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
fleur
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
52
Issues
52
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
fleur
fleur
Commits
f1cdff37
Commit
f1cdff37
authored
Feb 14, 2017
by
Daniel Wortmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some modifications of the cmake environment
parent
6532d61b
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
27 additions
and
12 deletions
+27
-12
cmake/machines.sh
cmake/machines.sh
+10
-12
cmake/maschines/CLAIX.cmake
cmake/maschines/CLAIX.cmake
+0
-0
cmake/maschines/IFF.cmake
cmake/maschines/IFF.cmake
+0
-0
cmake/maschines/JUQUEEN/JUQEEN.cmake
cmake/maschines/JUQUEEN/JUQEEN.cmake
+0
-0
cmake/maschines/JURECA/JURECA.cmake
cmake/maschines/JURECA/JURECA.cmake
+0
-0
cmake/maschines/JURECA/JURECAGPU.cmake
cmake/maschines/JURECA/JURECAGPU.cmake
+11
-0
cmake/maschines/JURECA/intelsource.sh
cmake/maschines/JURECA/intelsource.sh
+4
-0
cmake/maschines/JURECA/pgisource.sh
cmake/maschines/JURECA/pgisource.sh
+2
-0
cmake/maschines/MARCONI.cmake
cmake/maschines/MARCONI.cmake
+0
-0
No files found.
cmake/machines.sh
View file @
f1cdff37
...
...
@@ -26,10 +26,10 @@ function configure_machine(){
echo
"All required modules load loaded"
else
echo
"You have to load the required modules"
echo
"
module load Python/2.7.12 CMake HDF5 ELPA/2016.05.003-hybrid
"
echo
"
See and/or source
$DIR
/cmake/maschines/JURECA/intelsource.sh
"
exit
fi
cp
$DIR
/cmake/JURECA.cmake config.cmake
cp
$DIR
/cmake/
maschines/JURECA/
JURECA.cmake config.cmake
elif
module list 2>&1 |grep
-q
PGI
then
echo
"PGI toolchain used"
...
...
@@ -40,17 +40,15 @@ function configure_machine(){
then
echo
"All required modules loaded, all variables set"
else
echo
"
Please do at least
"
echo
"
module load MVAPICH2 CMake
"
echo
"
Not all modules are loaded
"
echo
"
See and/or source
$DIR
/cmake/maschines/JURECA/pgisource.sh
"
echo
"And set the variables XML2_ROOT and MAGMA_ROOT"
exit
fi
cp
$DIR
/cmake/JURECAGPU.cmake config.cmake
cp
$DIR
/cmake/
maschines/JURECA/
JURECAGPU.cmake config.cmake
else
echo
"You have to load the correct modules for compiling"
echo
" a) intel-para"
echo
" or"
echo
" b) PGI"
echo
" Look for files to source in
$DIR
/cmake/maschines/JURECA"
exit
fi
# JUQUEEN
...
...
@@ -66,13 +64,13 @@ function configure_machine(){
echo
"module load hdf5/1.8.15_BGQ scalapack/2.0.2_elpa_simd"
exit
fi
cp
$DIR
/cmake/JUQUEEN.cmake config.cmake
cp
$DIR
/cmake/
maschines/JUQUEEN/
JUQUEEN.cmake config.cmake
#IFF linux cluster
elif
[
"
$machine
"
=
"IFF"
]
then
echo
"IFF cluster configuration used"
cp
$DIR
/cmake/IFF.cmake config.cmake
cp
$DIR
/cmake/
maschines/
IFF.cmake config.cmake
#RWTH cluster
elif
[
"
$machine
"
=
"CLAIX"
]
...
...
@@ -83,7 +81,7 @@ function configure_machine(){
echo
"Please use intelmpi, e.g. do a module switch openmpi intelmpi"
exit
fi
cp
$DIR
/cmake/CLAIX.cmake config.cmake
cp
$DIR
/cmake/
maschines/
CLAIX.cmake config.cmake
module load LIBRARIES
elif
[
"
$machine
"
=
"MARCONI"
]
then
...
...
@@ -92,7 +90,7 @@ module load LIBRARIES
echo
"Load the modules needed to compile: intel,intelmpi,cmake"
exit
fi
cp
$DIR
/cmake/MARCONI.cmake config.cmake
cp
$DIR
/cmake/
maschines/
MARCONI.cmake config.cmake
elif
[
"
$machine
"
=
"AUTO"
]
then
echo
"No machine specific settings used"
...
...
cmake/CLAIX.cmake
→
cmake/
maschines/
CLAIX.cmake
View file @
f1cdff37
File moved
cmake/IFF.cmake
→
cmake/
maschines/
IFF.cmake
View file @
f1cdff37
File moved
cmake/JUQEEN.cmake
→
cmake/
maschines/JUQUEEN/
JUQEEN.cmake
View file @
f1cdff37
File moved
cmake/JURECA.cmake
→
cmake/
maschines/JURECA/
JURECA.cmake
View file @
f1cdff37
File moved
cmake/maschines/JURECA/JURECAGPU.cmake
0 → 100644
View file @
f1cdff37
#Set the compiler names
set
(
CMAKE_Fortran_COMPILER mpif90
)
set
(
CMAKE_C_COMPILER mpicc
)
#Add include pathes
#set(CMAKE_C_FLAGS " -I$ENV{XML2_ROOT}/include")
set
(
FLEUR_Fortran_FLAGS
" -I$ENV{MAGMA_ROOT}/include"
)
#Linker Stuff
#set(FLEUR_LIBRARIES "-L$ENV{XML2_ROOT}/lib;-lxml2;-lz;-L$ENV{MAGMA_ROOT}/lib;-lmagma")
set
(
FLEUR_LIBRARIES
"-L$ENV{MAGMA_ROOT}/lib;-lmagma"
)
set
(
FLEUR_DEFINITIONS
${
FLEUR_DEFINITIONS
}
"CPP_AIX"
)
set
(
FLEUR_MPI_DEFINITIONS
${
FLEUR_MPI_DEFINITIONS
}
"CPP_AIX"
)
cmake/maschines/JURECA/intelsource.sh
0 → 100644
View file @
f1cdff37
ml purge
ml use /usr/local/software/jureca/OtherStages
ml Stages/2016a
ml intel-para CMake HDF5 ELPA/2015.11.001-hybrid Python
cmake/maschines/JURECA/pgisource.sh
0 → 100644
View file @
f1cdff37
ml purge
ml PGI MVAPICH2 CMake libxml2/.2.9.4
cmake/MARCONI.cmake
→
cmake/
maschines/
MARCONI.cmake
View file @
f1cdff37
File moved
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