Thanks for your reply.
I am working on doing as you suggest, but am stuck with
[EMAIL PROTECTED] SPECS]# rpmbuild -bb --clean --rmsource mpich-oscar-p4.spec
error: Failed build dependencies:
/usr/bin/symlinks is needed by mpich-ch_p4-gcc-oscar-1.2.5.10-2
when I try to build the new mpich rpm after I changed the fortran compiler to ifc in the spec file.
can you tell me if I am on the right track and, if so, how/where I get /usr/bin/symlinks ?
I appreciate your help, many thanks
Giles
At 20:31 2/02/2004, you wrote:
I suggest getting the OSCAR SRPM from
http://cvs.sourceforge.net/viewcvs.py/oscar/oscar/packages/mpich/SRPMS/
and tweaking the spec file to use your desired compiler (it might even have hooks for this already; I'm not sure), and just rebuilding another rpm to install. I think this SRPM will probably crank out a new modules rpm as well that should reflect whatever path you set up, which would integrate with switcher nicely.
Jeremy
At 09:19 PM 2/2/2004, Giles Lesser wrote:
I know I'm covering old ground, but after lots of searching I still can't figure it out....
I am trying to use IFC v7.1 to compile a fortran90 program to run under MPICH on an OSCAR cluster and I get the (in)famous
pi3.o(.text+0x1b): In function `main':
: undefined reference to `mpi_init_'
pi3.o(.text+0x2f): In function `main':
: undefined reference to `mpi_comm_rank_'
pi3.o(.text+0x43): In function `main':
: undefined reference to `mpi_comm_size_'
pi3.o(.text+0x14d): In function `main':
: undefined reference to `mpi_bcast_'
pi3.o(.text+0x1f5): In function `main':
: undefined reference to `mpi_reduce_'
pi3.o(.text+0x285): In function `main':
: undefined reference to `mpi_finalize_'
sequence of errors which (I believe) are due to the double__ problem in the MPICH libraries.
My question is: what is the easiest way to solve this problem in an OSCAR cluster?
The standard advice is to re-compile MPICH using IFC. Problem is that the "configure" script and source for MPICH don't seem to be included in OSCAR v3.0, so how can I do this? Also, if I succeed (say by downloading the MPICH source from the web) will I have problems with switcher?
Or is there a better solution?
Many thanks for your help.
Giles
-------------------------------------------------
G.R. Lesser
Visiting Scientist
-------------------------------------------------
US Geological Survey
Coastal and Marine Geology Program
345 Middlefield Road MS 999
Menlo Park, CA 94025
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Oscar-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-users
-------------------------------------------------
G.R. Lesser
Visiting Scientist
-------------------------------------------------
US Geological Survey
Coastal and Marine Geology Program
345 Middlefield Road MS 999
Menlo Park, CA 94025
e-mail: [EMAIL PROTECTED]
tel: +1 650 329-5475
fax: +1 650 329-5190
-------------------------------------------------
WL | Delft Hydraulics
internet: http://www.wldelft.nl
US Geological Survey Western Region
Coastal and Marine Geology
internet: http://walrus.wr.usgs.gov
