Re: [Apbs-users] compiling with mpi
Biomolecular electrostatics software
Brought to you by:
sobolevnrm
From: Mark E. <ma...@st...> - 2004-03-16 17:42:55
|
Hi Nathan, I am using Redhat 9, gcc 3.2.2, lam/mpi 7.0.4. I also received those errors with the mpi that I had previously - turns out this was lam/mpi 6.27.2.2. I suspect that adding the compiler flags that I mentioned already in this thread would have solved my problems without requiring an update of my mpi installation. I am by no means a unix guru. I imagine there is some slicker way to solve my problem than the approach that I took. - Mark On Mar 16, 2004, at 5:18 AM, Nathan Baker wrote: > Hi Mark -- > > The latest CVS version takes care of the -nofor_main warnings > (however, these can be safely ignored with g77). I'm not sure where > the other errors are coming from -- what version of MPI are you using? > Was it compiled with something other than gcc/g77? > > Thanks, > > Nathan > > Mark Engelhardt wrote: > >> Hi, >> linux redhat 9, system identified as i686-pc-linux >> I am running into problems compiling with mpi. I have tried both gcc >> and mpicc. Maloc 0.1.2 compiled fine with gcc and --mpi-enabled using >> links to /usr/include and /usr/lib for the mpi files, but apbs 0.3.0 >> is throwing a lot of errors in make. They all look something like: >> /usr/lib/libmpi.a(init.o)(.text+0x258): In function `MPI_Init': >> : undefined reference to `_kio' >> /usr/lib/libmpi.a(init.o)(.text+0x32d): In function `MPI_Init': >> : undefined reference to `show_help' >> /usr/lib/libmpi.a(init.o)(.text+0x3f4): In function `init_comm': >> : undefined reference to `al_init' >> /usr/lib/libmpi.a(init.o)(.text+0x44b): In function `init_comm': >> : undefined reference to `_kio' >> Any suggestions? The APBS docs say: >> For most platforms, no options need to be specified; APBS's >> autoconf >> setup automatically detects whether MALOC was compiled with MPI >> and >> configures itself appropriately. >> So I guess something is going wrong in the 'autoconf' somewhere? I'm >> also getting all the "g77: unrecognized option `-nofor_main'" errors, >> but if I take the advice of a previous thread and get rid of the >> '-nofor_main' flag it doesn't seem to make any difference. >> Thanks for any suggestions, >> Mark > > -- > Nathan A. Baker, Assistant Professor > Washington University in St. Louis School of Medicine > Dept. of Biochemistry and Molecular Biophysics > Center for Computational Biology > 700 S. Euclid Ave., Campus Box 8036, St. Louis, MO 63110 > Phone: (314) 362-2040, Fax: (314) 362-0234 > URL: http://www.biochem.wustl.edu/~baker > > _______________________________________________ > apbs-users mailing list > apb...@ch... > http://cholla.wustl.edu/mailman/listinfo/apbs-users > |