Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
netcdf_hdf_docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
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
Coda Phillips
netcdf_hdf_docker
Commits
3e4eddd6
Commit
3e4eddd6
authored
5 months ago
by
Coda Phillips
Browse files
Options
Downloads
Patches
Plain Diff
update hdf5 and netcdf
parent
9baf8d48
Branches
master
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
Dockerfile
+1
-1
1 addition, 1 deletion
Dockerfile
build.sh
+2
-1
2 additions, 1 deletion
build.sh
download_src.sh
+3
-3
3 additions, 3 deletions
download_src.sh
make_all.sh
+10
-8
10 additions, 8 deletions
make_all.sh
run.sh
+1
-1
1 addition, 1 deletion
run.sh
with
17 additions
and
14 deletions
Dockerfile
+
1
−
1
View file @
3e4eddd6
FROM
centos_gcc
:7
FROM
gitlab.ssec.wisc.edu:5555/cphillips/
centos
6
_gcc
_docker
WORKDIR
/root/
COPY
make_all.sh make_all.sh
...
...
This diff is collapsed.
Click to expand it.
build.sh
+
2
−
1
View file @
3e4eddd6
#!/bin/bash
docker build
-t
netcdf_hdf:7
.
#docker build -t netcdf_hdf:7 .
docker build
-t
gitlab.ssec.wisc.edu:5555/cphillips/netcdf_hdf_docker
.
This diff is collapsed.
Click to expand it.
download_src.sh
+
3
−
3
View file @
3e4eddd6
#!/bin/bash
set
-ex
wget https://support.hdfgroup.org/ftp/HDF/releases/HDF4.2.13/src/hdf-4.2.13.tar.bz2
wget https://
support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.8/hdf5-1.8.20
/src/hdf5-1.
8.20
.tar.
bz2
wget https://
www
.unidata.ucar.edu/
downloads/netcdf/ftp
/netcdf-c-4.
7.1
.tar.gz
wget https://
www
.unidata.ucar.edu/
downloads/netcdf/ftp
/netcdf-fortran-4.
5
.1.tar.gz
wget https://
hdf-wordpress-1.s3.amazonaws.com/wp-content/uploads/manual/HDF5/HDF5_1_12_3
/src/hdf5-1.
12.3
.tar.
gz
wget https://
downloads
.unidata.ucar.edu/
netcdf-c/4.9.2
/netcdf-c-4.
9.2
.tar.gz
wget https://
downloads
.unidata.ucar.edu/
netcdf-fortran/4.6.1
/netcdf-fortran-4.
6
.1.tar.gz
This diff is collapsed.
Click to expand it.
make_all.sh
+
10
−
8
View file @
3e4eddd6
#!/bin/bash
set
-ex
yum
install
-y
libjpeg-turbo-static.x86_64 zlib-static.x86_64 subversion glibc-static wget bison flex
./download_src.sh
tar
xf hdf-4.2.13.tar.bz2
tar
xf hdf5-1.
8.20
.tar.
bz2
tar
xf netcdf-c-4.
7.1
.tar.gz
tar
xf netcdf-fortran-4.
5
.1.tar.gz
tar
xf hdf5-1.
12.3
.tar.
gz
tar
xf netcdf-c-4.
9.2
.tar.gz
tar
xf netcdf-fortran-4.
6
.1.tar.gz
cd
/root/hdf-4.2.13
export
PREFIX
=
/root/hdf4
...
...
@@ -13,19 +15,19 @@ export PREFIX=/root/hdf4
make
make
install
cd
/root/hdf5-1.
8.20
/
cd
/root/hdf5-1.
12.3
/
export
PREFIX
=
/root/hdf5
./configure
--enable-static
--prefix
=
/root/hdf5/
--enable-fortran2003
--enable-fortran
make
make
install
cd
/root/netcdf-c-4.
7.1
cd
/root/netcdf-c-4.
9.2
export
PREFIX
=
/root/netcdf
CFLAGS
=
'-I/root/hdf5/include/'
LDFLAGS
=
'-L/root/hdf5/lib/'
./configure
--prefix
=
/root/netcdf/
--enable-static
--disable-dap
CFLAGS
=
'-I/root/hdf5/include/'
LDFLAGS
=
'-L/root/hdf5/lib/'
./configure
--prefix
=
/root/netcdf/
--enable-static
--disable-dap
--disable-libxml2
--disable-byterange
make
make
install
cd
/root/netcdf-fortran-4.
5
.1
cd
/root/netcdf-fortran-4.
6
.1
LD_LIBRARY_PATH
=
/root/hdf5/lib/:/root/netcdf/lib/:
$LD_LIBRARY_PATH
CFLAGS
=
'-I/root/hdf5/include/ -I/root/netcdf/include/'
LDFLAGS
=
'-L/root/hdf5/lib/ -L/root/netcdf/lib/'
./configure
--prefix
=
/root/netcdf/
--enable-static
make
make
install
...
...
@@ -36,5 +38,5 @@ mkdir /root/lib/
ln
-s
/root/hdf4 /root/lib/hdf4_gcc
ln
-s
/root/hdf5 /root/lib/hdf5_gcc
ln
-s
/root/netcdf /root/lib/netcdf4_gcc
rm
-rf
hdf-4.2.13 hdf-4.2.13.tar.bz2 hdf5-1.
8.20
install_clavrx_trunk_gfortran.sh netcdf-c-4.
7.1
netcdf-c-4.
7.1
.tar.gz netcdf-fortran-4.
5
.1 netcdf-fortran-4.
5
.1.tar.gz hdf5-1.
8.20
.tar.
bz2
anaconda-ks.cfg install.log install.log.syslog
rm
-rf
hdf-4.2.13 hdf-4.2.13.tar.bz2 hdf5-1.
12.3
install_clavrx_trunk_gfortran.sh netcdf-c-4.
9.2
netcdf-c-4.
9.2
.tar.gz netcdf-fortran-4.
6
.1 netcdf-fortran-4.
6
.1.tar.gz hdf5-1.
12.3
.tar.
gz
anaconda-ks.cfg install.log install.log.syslog
yum remove
-y
wget subversion
This diff is collapsed.
Click to expand it.
run.sh
+
1
−
1
View file @
3e4eddd6
docker run
-it
--rm
netcdf_hdf /bin/bash
-l
docker run
-it
--rm
gitlab.ssec.wisc.edu:5555/cphillips/
netcdf_hdf
_docker
/bin/bash
-l
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