|
Last change
on this file since 796 was
547,
checked in by aslmd, 14 years ago
|
|
UTIL PYTHON: make f2py stuff work with gfortran. thanks to JBM :)
|
-
Property svn:executable set to
*
|
|
File size:
385 bytes
|
| Rev | Line | |
|---|
| [547] | 1 | #! /bin/bash |
|---|
| 2 | |
|---|
| 3 | which f2py |
|---|
| 4 | |
|---|
| 5 | NETCDF=$HOME/PROGRAMS/netcdf-4.0.1-gfortran |
|---|
| 6 | echo $NETCDF |
|---|
| 7 | |
|---|
| 8 | f2py -c -m api api.F90 --fcompiler=gnu95 \ |
|---|
| 9 | -L$NETCDF/lib -lnetcdf \ |
|---|
| 10 | -lm -I$NETCDF/include \ |
|---|
| 11 | --f90flags="-Wall -ffree-form -fno-second-underscore" \ |
|---|
| 12 | --include-paths $NETCDF/include:$NETCDF/lib \ |
|---|
| 13 | --verbose \ |
|---|
| 14 | > api.log 2>&1 |
|---|
| 15 | f2py -c -m timestuff time.F --fcompiler=gnu95 > timestuff.log 2>&1 |
|---|
Note: See
TracBrowser
for help on using the repository browser.