In article ,
"Carlie J. Coats" jyarborough.com> writes:
>>>
>>> The Makefile system does *NOT* work with "gfortran" -- I've tried
Actually the Makefile system does not work at all with either
FreeBSD's make or GNU make.
REMOVE:kargl[30] make
"Makefile", line 234: warning: duplicate script for target "/SOMEWHERE/" ignored
mkdir /env/proj/coats/ioapi_3/
mkdir: /env/proj/coats: No such file or directory
*** Error code 1
Stop in /usr/home/kargl/tmp/iop.
REMOVE:kargl[31] gmake
Makefile:234: warning: overriding commands for target `/SOMEWHERE'
Makefile:231: warning: ignoring old commands for target `/SOMEWHERE'
mkdir /env/proj/coats/ioapi_3/
mkdir: /env/proj/coats: No such file or directory
gmake: *** [/env/proj/coats/ioapi_3] Error 1
Of course, the complete lack of installation instruction in the
tarball might be considered a bug.
>>> several versions, the most recent being from the Mandriva RPM
>>>
gcc-gfortran-4.2.3-6mnb1. For a seemingly random set of the source
>>> files, the make-log seems to indicate success, but the object file
>>> is nowhere to be found, e.g.
>>>
>>> ...
>>> cd /home/coats/Work/Linux2_x86_64gfort; gfortran -c -DIOAPICPL=1
>>> -DAUTO_ARRAYS=1 -DF90=1 -DFLDMN=1 -DFSTR_L=int -DIOAPI_NO_STDOUT=1
>>> -DAVOID_FLUSH=1 -O3 -ffast-math -funroll-loops -m64 -Wall -Wsurprising
>>> -openmp -I/home/coats/Work/ioapi /home/coats/Work/ioapi/bilin.f
>>> Warning: Nonconforming tab character in column 1 of line 22
If you actually use the correct name for the options you want, you
might have better luck. Please read the GCC manual about the -o
option and the -fopenmp option.
REMOVE:kargl[59] rm bilin.o
REMOVE:kargl[60] ~/work/bin/gfortran -c -DIOAPICPL=1 -DAUTO_ARRAYS=1 -DF90=1 -DFLDMN=1 -DFSTR_L=int -DIOAPI_NO_STDOUT=1 -DAVOID_FLUSH=1 -O3 -ffast-math -funroll-loops -Wall -Wsurprising -fopenmp bilin.f
Warning: Nonconforming tab character in column 2 of line 22
REMOVE:kargl[61] ls bilin*
bilin.f bilin.o
--
steve