source: trunk/UTIL/PYTHON/api_gfortran.sh @ 796

Last change on this file since 796 was 547, checked in by aslmd, 13 years ago

UTIL PYTHON: make f2py stuff work with gfortran. thanks to JBM :)

  • Property svn:executable set to *
File size: 385 bytes
Line 
1#! /bin/bash
2
3which f2py
4
5NETCDF=$HOME/PROGRAMS/netcdf-4.0.1-gfortran
6echo $NETCDF
7
8f2py  -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
15f2py -c -m timestuff time.F --fcompiler=gnu95 > timestuff.log 2>&1
Note: See TracBrowser for help on using the repository browser.