Linking problem on Mac OS 10.5

Ralph Kube ralphkube@googlemail.com
Mon Mar 15 10:33:00 GMT 2010


I forgot a line in the makefile

GFC     = /usr/local/bin/gfortran

> My makefile reads as follows:
>
> H5FLAGS = -lhdf5
> FFTWFLAGS = -lfftw3 -lfftw3_threads
> GFLAGS = -ffixed-line-length-132 -fno-underscoring -fopenmp
> LPATH = -L/opt/local/lib -L/Users/ralph/uni/2dads-per
> IPATH = -I/opt/local/include -I/Users/ralph/uni/2dads-per
> LFLAGS = -Wl,-rpath
>
> $(GFC) -v $(GFLAGS) $(LPATH) $(IPATH) $(FFTWFLAGS) $(H5FLAGS) $(LFLAGS)
> 2dads-per.F90 -o 2dads-per.o
...

Cheers, Ralph



More information about the Fortran mailing list