Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
openfpm_pdata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sbalzarini Lab
Software
Parallel Computing
OpenFPM
openfpm_pdata
Commits
8edc2a62
Commit
8edc2a62
authored
1 year ago
by
Serhii Yaskovets
Browse files
Options
Downloads
Patches
Plain Diff
Enable ZLIB in HDF5; update url to ZLIB
parent
40d954e0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#5423
failed
1 year ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
script/install_HDF5.sh
+25
-25
25 additions, 25 deletions
script/install_HDF5.sh
with
25 additions
and
25 deletions
script/install_HDF5.sh
+
25
−
25
View file @
8edc2a62
...
...
@@ -11,30 +11,30 @@ if [ -d "$1/HDF5" -a -f "$1/HDF5/include/hdf5.h" ]; then
exit
0
fi
#
if [ ! -d "$1/ZLIB" -a x"$platform" != x"cygwin" ]; then
#
rm zlib-1.2.1
2
.tar.gz
#
rm -rf zlib-1.2.1
2
#
wget http://zlib.net/zlib-1.2.1
2
.tar.gz
#
if [ $? -ne 0 ]; then
#
echo -e "\033[91;5;1m FAILED! Installation requires an Internet connection \033[0m"
#
exit 1
#
fi
#
tar -xf zlib-1.2.1
2
.tar.gz
#
cd zlib-1.2.1
2
#
CC=mpicc CFLAGS=-fPIC ./configure --prefix=$1/ZLIB
#
make -j $2
#
if [ $? -eq 0 ]; then
#
make check install
#
else
#
echo -e "\033[91;5;1m ZLIB Installation FAILED \033[0m"
#
exit 1
#
fi
#
cd ..
#
else
#
echo "ZLIB is already installed"
#
fi
if
[
!
-d
"
$1
/ZLIB"
-a
x
"
$platform
"
!=
x
"cygwin"
]
;
then
rm
zlib-1.2.1
1
.tar.gz
rm
-rf
zlib-1.2.1
1
wget http
s
://zlib.net/
fossils/
zlib-1.2.1
1
.tar.gz
if
[
$?
-ne
0
]
;
then
echo
-e
"
\0
33[91;5;1m FAILED! Installation requires an Internet connection
\0
33[0m"
exit
1
fi
tar
-xf
zlib-1.2.1
1
.tar.gz
cd
zlib-1.2.1
1
CC
=
mpicc
CFLAGS
=
-fPIC
./configure
--prefix
=
$1
/ZLIB
make
-j
$2
if
[
$?
-eq
0
]
;
then
make check
install
else
echo
-e
"
\0
33[91;5;1m ZLIB Installation FAILED
\0
33[0m"
exit
1
fi
cd
..
else
echo
"ZLIB is already installed"
fi
### 1.8.19 does not compile on CYGWIN
...
...
@@ -44,7 +44,7 @@ cd hdf5-1.10.8
# Disable zlib is completly unstable
if
[
x
"
$platform
"
!=
x
"cygwin"
]
;
then
CC
=
mpicc ./configure
--enable-parallel
--prefix
=
$1
/HDF5
CC
=
mpicc ./configure
--with-zlib
=
$1
/ZLIB
--enable-parallel
--prefix
=
$1
/HDF5
make
-j
$2
else
CC
=
mpicc ./configure
--enable-parallel
--prefix
=
$1
/HDF5
...
...
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