Alex Granovsky
gran@classic.chem.msu.su
I'm terribly sorry for delay with my reply.
I hope you already found the answer on the forum. If you do not,
the following thread
http://classic.chem.msu.su/cgi-bin/ceilidh.exe/gran/gamess/forum/?C35395f7047Tv-8331-973+00.htm
woudl be of help as it explains how to compile 32-bit mpich2 on 64-bit
system.
All the best,
Alex
On Tue Apr 2 '13 9:09pm, Antonio Carlos Borin wrote
---------------------------------------------------
>Dear Prof. Alex,
>I configured with the following command:
>./configure --prefix=/home/ancborin/mpich2-install --enable-shared --enable-static --enable-wrapper-rpath
>I did not find the directive for compiling for 32-bit.
>I have the libmpich.so file in the directory /home/ancborin/mpich2-install/lib/, which is included in the LD_LIBRARY_PATH.
>To run in parallel, I do: mpirun -np 2 firefly8.mpich2.ex -i EXAM09.INP -ex /home/ancborin/ff8_rc40_linux -o exam09.out -f
>The problem, now, is: firefly8.mpich2.ex: error while loading shared libraries: libmpich.so: wrong ELF class: ELFCLASS64
>Maybe, it has to do with the 32-bit version you have mentioned.
>Any suggestion?
>Best,
>Antonio
>The On Tue Apr 2 '13 3:08am, Alex Granovsky wrote
>---------------------------------------------
>>Dear Antonio,
>>A couple of questions:
>>1. Did you compile mpich2 for 32-bit
>>2. Did you configure mpich2 to produce shared libraries?
>>3. What is the location of these libraries?
>>4. What is returned by ls -al on that directory, i.e.
>>what are the exact filenames?
>>Kind regards,
>>Alex
>>
>>
>>On Mon Apr 1 '13 5:01pm, Antonio Carlos Borin wrote
>>---------------------------------------------------
>>>Dear Prof. Alex.
>>>Thank you for your explanation.
>>>I installed MPICH2 (http://www.mpich.org/http://www.mpich.org/http://www.mpich.org/http://www.mpich.org/ ; mpich2-1.5rc3).
>>>Now, I issued the following command:
>>>mpirun -np 2 firefly8.mpich2.ex -i EXAM09.INP -ex /home/ancborin/ff8_rc40_linux -o exam09.out -f
>>>The new problem: firefly8.mpich2.ex: error while loading shared libraries: libmpich.so: cannot open shared object file: No such file or directory
>>>I thought libmpich.so would be installed during the installation of mpich. I also set library path to LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/ancborin/mpich2-install/lib
>>>I know this this has nothing to do with firefly; but I would appreaciate any help, if possible.
>>>Best,
>>>Antonio
>>