I'm joining this thread a little late -- is there a reason you're using
-static? According to the error messages, not using that may fix the
problem...?
On Dec 4, 2004, at 4:20 AM, Kamaraju Kusumanchi wrote:
> On Fri, 03 Dec 2004 20:04:54 -0600, Ryuta Suzuki
> <suzu0037_at_[hidden]> wrote:
>> You need to set
>>
>> call MPI_Finalize(ierror)
>
>
> thank you very much for the reply. That solved the problem. However I
> have one more question. This time I am trying to build lam-mpi with
> ifort 8.1, icc 8.1 using the following options (building static
> libraries).
>
> export FC=ifort
> export CC=icc
> export CXX=icpc
> export FFLAGS=""
> export CFLAGS="-cxxlib-icc -static"
> export CXXFLAGS="-cxxlib-icc -static"
>
> After compiling the lam-mpi libraries with the above options.
>
> If I try to run
> mpif77 -static helloworld.f90
> I get the following warnings. Is there any to avoid these errors?
>
> /data/raju/kusumanchi_rajulocal/software/compiledLibs/
> lammpi_icc81_ifort81_corrsin/lib/liblam.a(ltdl.o)(.text+0x2ed):
> In function `sys_dl_open':
> : warning: Using 'dlopen' in statically linked applications requires
> at runtimethe shared libraries from the glibc version used for linking
> /opt/intel_fc_80/lib/libifcoremt.a(for_open_proc.o)(.text+0x37dc): In
> function `for__compute_filename':
> : warning: Using 'getpwnam' in statically linked applications requires
> at runtime the shared libraries from the glibc version used for
> linking
> /data/raju/kusumanchi_rajulocal/software/compiledLibs/
> lammpi_icc81_ifort81_corrsin/lib/liblam.a(kill.o)(.text+0x62):
> In function `lam_tmpdir_init_opt':
> : warning: Using 'getpwuid' in statically linked applications requires
> at runtime the shared libraries from the glibc version used for
> linking
> /data/raju/kusumanchi_rajulocal/software/compiledLibs/
> lammpi_icc81_ifort81_corrsin/lib/
> liblam.a(lam_gethostby.o)(.text+0x19):
> In function `lam_gethostbyaddr':
> : warning: Using 'gethostbyaddr' in statically linked applications
> requires at runtime the shared libraries from the glibc version used
> for linking
> /data/raju/kusumanchi_rajulocal/software/compiledLibs/
> lammpi_icc81_ifort81_corrsin/lib/liblam.a(lam_gethostby.o)(.text+0x5):
> In function `lam_gethostbyname':
> : warning: Using 'gethostbyname' in statically linked applications
> requires at runtime the shared libraries from the glibc version used
> for linking
>
>
> thanks
> raju
>
> --
> Kamaraju S Kusumanchi
> Cornell University
> http://people.cornell.edu/pages/kk288/
> http://groups.yahoo.com/group/flumech/
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
--
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/
|