Well, this seems to be more makefile-related than lam-related. I think the
problem lies in the following part of my makefile:
blacstest.o : blacstest.f
$(F77) $(F77NO_OPTFLAGS) -c $*.f
$(TESTdir)/bt.dat : $(BTOPdir)/TESTING/bt.dat
cp $(BTOPdir)/TESTING/bt.dat $(TESTdir)/
where
HOME = /home/SCALAPACK
BTOPdir = $(HOME)/BLACS
TESTdir = $(BTOPdir)/TESTING/EXE
gmake complains of some circular dependency. Though I suspect this is
makefile-related, if anyone can help, I greatly appreciate it.
>> Try " -fno-globals " (or close to that) as option to g77.
>> The warnings say you are changing types between calls. It's
>> probably Ok, but generally it's a mistake.
>Thanks. By using that flag, all the warning mg disappeared but there is
>still a fatal error:
>
>prompt% make
>mpif77 -c blacstest.f
>*** Error code 2
>make: Fatal error: Command failed for target `blacstest.o'
>
>If I execute "mpif77 -c blacstest.f" by itself, it seems to be OK:
>
>prompt% mpif77 -c blacstest.f
>
>But there is no .o file output.
>
>My Makefile has the following statement:
>..f.o: ; $(F77) -c $(F77FLAGS) $*.f
>
>where F77FLAGS = -fno-globals -O4
>
>
>Thanks.
>
_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8.
http://join.msn.com/?page=features/junkmail
|