List Info

Thread: Re: LAM: lots of undefined reference to ...




Re: LAM: lots of undefined reference to ...
country flaguser name
Italy
2007-03-30 09:19:12
Yu Chen ha scritto:
> Thanks, Jeff
> 
> No, I am using the same version of fortran compiler
g95, and using mpif77 
> wrapper. Here is the env used when compiling
application.
> 
> SYSTEM      = g95-lam
> COMMENT     = g95 Fortran compiler for LAM version of
MPI
> LAMHG77     = g95
> DEFS        = -Dmpi -Dg95 -Dg95_lam
> FC          = mpif77
> FC_NOMPI    = g95
> FFLAGS      = -fno-underscoring -O
> FFLAGS2     = -fno-underscoring -O
                  ^^^^^^^^^^^^^^^^
this seems to be the point, compare to:

>>>
>>>#### Laminfo output ####
>>>              LAM/MPI: 7.1.3
...
>>>      Fortran symbols: double_underscore

you should remove -fno-underscoring from your compilation
options (or 
configure lam with that FFLAGS, if it makes sense)
	cheers, Davide

-- 
__________________________________________________________
Davide Cesari	ARPA-Servizio Idro Meteorologico      __
  tel       (39) 051/525926                            ||
  fax       (39) 051/6497501                           |||
  e-mail    dcesariarpa.emr.it                        |||/
  www       http://www.arpa.emr.it/sim
                 ---
  Address:  ARPA-SIM, Viale Silvani 6, 40122 Bologna, Italy
__________________________________________________________
_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )