Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

From: Brock Palen (brockp_at_[hidden])
Date: 2007-08-06 21:47:15


I have done work before to make namd and charm++ work with openMPI I
dont remember what but it is doable. Something like removing -lmpich
was enough i think, maybe a hack to use mpiCC and -fPIC (pgi compilers).

I could look more if you want.

Brock Palen
Center for Advanced Computing
brockp_at_[hidden]
(734)936-1985

On Aug 6, 2007, at 8:12 PM, Jeff Squyres wrote:

> It looks like charm++ is looking for libmpich, which is not an Open
> MPI library. Is there a way to have charm++ look for Open MPI's
> libraries, or better yet, use our wrapper compilers and not use any
> hard-coded library names? (you might need to ask the charm++ support
> list?)
>
> See http://www.open-mpi.org/faq/?category=mpi-apps#general-build.
>
>
> On Aug 6, 2007, at 3:02 PM, Graham Jenkins wrote:
>
>> This iteme was originally sent to the NAMD mailing list, but it
>> occurred
>> to me that it's something you guys may ahve seen in another vein ..
>> and
>> may have a solution for ..
>>
>> I'm trying to build charm++ on a SL5 x86_64 machine on which the
>> openmpi-1.1.1-5.el5.x86_64 RPM has been installed.
>>
>> So here's the sequence:
>> --
>> cd charm-5.9
>> module load openmpi-intel
>> ./build charm++ mpi-linux-amd64 --libdir=/usr/lib64/openmpi \
>> --incdir=/usr/include/openmpi
>>
>> ..
>> cd tests/charm++/simplearrayhello
>> make
>> ../../../bin/charmc -language charm++ -o hello hello.o
>> /usr/bin/ld: cannot find -lmpich
>> collect2: ld returned 1 exit status
>> --
>>
>> Bottom line .. charm++ doesn't know about libmpi, even though it
>> exists
>> thus:
>> ls -1 /opt/sw/openmpi-1.2.3-i/lib/libmpi.??
>> /opt/sw/openmpi-1.2.3-i/lib/libmpi.la
>> /opt/sw/openmpi-1.2.3-i/lib/libmpi.so
>>
>> So .. anybody got a solution .. please?
>> --
>> Graham Jenkins
>> Senior Software Specialist, E-Research
>>
>> Email: Graham.Jenkins_at_[hidden]
>> Tel: +613 9905-5942
>> Mob: +614 4850-2491
>> _______________________________________________
>> users mailing list
>> users_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>
>
> --
> Jeff Squyres
> Cisco Systems
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>
>