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
51
Issues
51
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
a44e1d52
Commit
a44e1d52
authored
Jun 27, 2018
by
Daniel Wortmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated configure script for external-ELPA
parent
786172e7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
2 deletions
+21
-2
cmake/machines/INTEL_MPI_COMPILER.sh
cmake/machines/INTEL_MPI_COMPILER.sh
+6
-0
external/elpa/install_elpa.sh
external/elpa/install_elpa.sh
+15
-2
No files found.
cmake/machines/INTEL_MPI_COMPILER.sh
View file @
a44e1d52
...
...
@@ -3,4 +3,10 @@ export FC=${FC:=mpiifort}
export
CC
=
${
CC
:
=mpiicc
}
export
CXX
=
${
CXX
:
=mpiicpc
}
#Set environment variables usefull for external dependencies, e.g. ELPA
export
CFLAGS
=
-mkl
export
CMAKE_Fortran_FLAGS
=
"
$CMAKE_Fortran_FLAGS
-mkl"
export
FCFLAGS
=
-mkl
export
LIBS
=
"-mkl -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64"
export
SCALAPACK_LDFLAGS
=
"-lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64"
external/elpa/install_elpa.sh
View file @
a44e1d52
elpa_version
=
2017.11.001
#elpa_version=2017.11.001
elpa_version
=
2018.05.001.rc1
if
[
!
-r
elpa-
${
elpa_version
}
]
then
#Get the file with the code
...
...
@@ -6,7 +7,7 @@ then
tar
xzf elpa-
${
elpa_version
}
.tar.gz
cd
elpa-
${
elpa_version
}
#configure
./configure
--
disable-doxygen-doc
--enable-shared
=
no
--disable-mpi-module
--enable-openmp
--prefix
=
$PWD
/INSTALL_DIR
./configure
--
enable-c-tests
=
no
--disable-doxygen-doc
--enable-shared
=
no
--disable-mpi-module
--disable-legacy
--enable-openmp
--prefix
=
$PWD
/INSTALL_DIR
#Compile&test (This will take a while)
make
#Do make install
...
...
@@ -14,5 +15,17 @@ then
cd
..
fi
#Store the installation location
if
[[
-r
$PWD
/INSTALL_DIR/lib/libelpa.a
]]
||
[[
-r
$PWD
/INSTALL_DIR/lib/libelpa_openmp.a
]]
then
echo
"libelpa.a found"
else
#Try to copy files manually if make install failed
mkdir
$PWD
/INSTALL_DIR
mkdir
$PWD
/INSTALL_DIR/lib/
cp
elpa-
${
elpa_version
}
/.libs/
*
$PWD
/INSTALL_DIR/lib/
mkdir
$PWD
/INSTALL_DIR/include
cp
elpa-
${
elpa_version
}
/modules/
*
elpa-
${
elpa_version
}
/private_modules/
*
$PWD
/INSTALL_DIR/include
fi
FLEUR_LIBDIR
=
"
$PWD
/INSTALL_DIR/lib
$FLEUR_LIBDIR
"
FLEUR_INCLUDEDIR
=
"
$PWD
/INSTALL_DIR/include
$FLEUR_INCLUDEDIR
"
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