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.
Center for Advanced Computing
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
> 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
>> to me that it's something you guys may ahve seen in another vein ..
>> 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 \
>> cd tests/charm++/simplearrayhello
>> ../../../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
>> ls -1 /opt/sw/openmpi-1.2.3-i/lib/libmpi.??
>> 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
> Jeff Squyres
> Cisco Systems
> users mailing list