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
02dca5a7
Commit
02dca5a7
authored
Mar 13, 2019
by
Matthias Redies
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add compiler name to external files -> no recompilation
parent
046cb70b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
external/hdf5/install_hdf5.sh
external/hdf5/install_hdf5.sh
+4
-3
external/libxc/install_libxc.sh
external/libxc/install_libxc.sh
+4
-3
No files found.
external/hdf5/install_hdf5.sh
View file @
02dca5a7
hdf5_version
=
1.10.3
if
[
!
-r
CMake-hdf5-
${
hdf5_version
}
]
if
[
!
-r
CMake-hdf5-
${
hdf5_version
}
_
${
FC
}
]
then
#Get the file with the code
curl
-LO
"https://github.com/MRedies/hdf5-mirror/raw/master/CMake-hdf5-
${
hdf5_version
}
.tar.gz"
...
...
@@ -10,7 +10,8 @@ then
fi
tar
xzf CMake-hdf5-
${
hdf5_version
}
.tar.gz
cd
CMake-hdf5-
${
hdf5_version
}
mv
CMake-hdf5-
${
hdf5_version
}
CMake-hdf5-
${
hdf5_version
}
_
${
FC
}
cd
CMake-hdf5-
${
hdf5_version
}
_
${
FC
}
#copy options.cmake to adjust settings for compilation
cp
../HDF5options.cmake
.
#Compile&test (This will take a while)
...
...
@@ -20,7 +21,7 @@ then
make
install
cd
..
else
cd
CMake-hdf5-
${
hdf5_version
}
cd
CMake-hdf5-
${
hdf5_version
}
_
${
FC
}
fi
#Store the installation location
FLEUR_LIBDIR
=
"
$PWD
/HDF_Group/HDF5/
${
hdf5_version
}
/lib
$FLEUR_LIBDIR
"
...
...
external/libxc/install_libxc.sh
View file @
02dca5a7
libxc_version
=
4.2.1
if
[
!
-d
libxc-
${
libxc_version
}
]
if
[
!
-d
libxc-
${
libxc_version
}
_
${
FC
}
]
then
#Get the file with the code
curl
--connect-timeout
10
-LO
"https://github.com/MRedies/libxc-mirror/raw/master/libxc-
${
libxc_version
}
.tar.gz"
...
...
@@ -10,13 +10,14 @@ then
fi
tar
xzf libxc-
${
libxc_version
}
.tar.gz
cd
libxc-
${
libxc_version
}
mv
libxc-
${
libxc_version
}
libxc-
${
libxc_version
}
_
${
FC
}
cd
libxc-
${
libxc_version
}
_
${
FC
}
#Compile&test (This will take a while)
./configure
--prefix
=
$PWD
/INSTALL_DIR
make
-j
make
install
else
cd
libxc-
${
libxc_version
}
cd
libxc-
${
libxc_version
}
_
${
FC
}
fi
#Store the installation location
FLEUR_LIBDIR
=
"
$PWD
/INSTALL_DIR/lib
$FLEUR_LIBDIR
"
...
...
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