-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
61e3654
commit 1260e8a
Showing
3 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
#!/bin/bash | ||
# -L/usr/lib can be omiited | ||
|
||
gfortran -o write_nc_f90.exe simple_xr_wr.f90 -I/usr/include -lnetcdff | ||
# -L/usr/lib can be omiited | ||
gfortran simple_xr_wr.f90 -o write_nc_f90.exe -I/usr/include -lnetcdff | ||
./write_nc_f90.exe | ||
ncdump -h simple_xy_f90.nc | ||
|
||
gfortran -o write_nc_f77.exe simple_xr_wr.f -I/usr/include -lnetcdff | ||
gfortran simple_xr_wr.f -o write_nc_f77.exe -I/usr/include -lnetcdff | ||
./write_nc_f77.exe | ||
ncdump -h simple_xy_f77.nc |