Giles-
Not sure why this is required, but here's the info nonetheless:  (from a RH9 system)

[EMAIL PROTECTED] SPECS]# rpm -qip /tftpboot/rpm/symlinks-1.2-16.i386.rpm
warning: /tftpboot/rpm/symlinks-1.2-16.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Name        : symlinks                     Relocations: (not relocateable)
Version     : 1.2                               Vendor: Red Hat, Inc.
Release     : 16                            Build Date: Sun 23 Jun 2002 07:28:16 PM CDT
Install date: (not installed)               Build Host: perf90.perf.redhat.com
Group       : Applications/System           Source RPM: symlinks-1.2-16.src.rpm
Size        : 8565                             License: distributable
Signature   : DSA/SHA1, Tue 03 Sep 2002 04:39:08 PM CDT, Key ID 219180cddb42a60e
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Summary     : A utility which maintains a system's symbolic links.
Description :
The symlinks utility performs maintenance on symbolic links. Symlinks
checks for symlink problems, including dangling symlinks that point to
nonexistent files. Symlinks can also automatically convert absolute
symlinks to relative symlinks.
[EMAIL PROTECTED] SPECS]#

Have you installed the rpm?  Also, don't you think you should replace both the fortran AND c compiler specifications in the spec file before you rebuild the packages?  I would recommend that.

        Jeremy

At 10:48 PM 2/3/2004, Giles Lesser wrote:
Hi Jeremy

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

Reply via email to