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
4201623e
Commit
4201623e
authored
5 years ago
by
Coda Phillips
Browse files
Options
Downloads
Patches
Plain Diff
Forgot hdf
parent
b63f4f7e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
make_all.sh
+6
-5
6 additions, 5 deletions
make_all.sh
with
6 additions
and
5 deletions
make_all.sh
+
6
−
5
View file @
4201623e
#!/bin/bash
#!/bin/bash
yum
install
-y
libjpeg-turbo-static.x86_64 zlib-static.x86_64 subversion glibc-static wget
yum
install
-y
libjpeg-turbo-static.x86_64 zlib-static.x86_64 subversion glibc-static wget
bison flex
./download_src.sh
./download_src.sh
tar
xf hdf-4.2.13.tar.bz2
tar
xf hdf-4.2.13.tar.bz2
tar
xf hdf5-1.8.20.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 netcdf-c-4.7.1.tar.gz
tar
xf netcdf-fortran-4.5.1.tar.gz
cd
hdf-4.2.13
cd
/root/hdf-4.2.13
export
PREFIX
=
/root/hdf4
./configure
--enable-static
--enable-netcdf
=
no
--prefix
=
/root/hdf4/
./configure
--enable-static
--enable-netcdf
=
no
--prefix
=
/root/hdf4/
make
make
make
install
make
install
...
@@ -17,9 +19,8 @@ export PREFIX=/root/hdf5
...
@@ -17,9 +19,8 @@ export PREFIX=/root/hdf5
make
make
make
install
make
install
export
PREFIX
=
/root/netcdf
cd
/root/netcdf-c-4.7.1
cd
/root/netcdf-c-4.7.1
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
make
make
make
install
make
install
...
...
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