Hi all,
Previously when i installed lam/mpi with blcr, any command was not
working.Now after reinstalling it agian, after getting some suggestions
from Vishal, lamboot, laminfo all are working. But now
mpicc/mpiCC/mpig++.. not working, when i type "mpicc hello.c", i get the
following error
/usr/bin/ld: cannot open output file hello: Permission denied
collect2: ld returned 1 exit status
mpicc: No such file or directory
I guess i think i am still facing same problem of shared library i.e.
libcr.so etc...
This time i did not install BLCR in default location rather i gave it
/home/BLCR. It contains all subdir* like bin, lib etc. lib contains all
lib* files and blcr subdirectory which further contain all other parts.
So i used --with-blcr=/home/BLCR in configuring the lam/mpi.And in
.bash_profile i have added folloing lines:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/BLCR/lib
export LD_LIBRARY_PATH
Does any of you have soultion of this problem? Please reply me soon
because now i have started thinking that my project is "installing lam/mpi
with blcr" althought originally it is "implementation of various
checkpoinitng protocols" using any available/nonavailable software.
Thanks
Ritesh
On Tue, 9 Mar 2004, Vishal Sahay wrote:
> Ritesh --
>
> A few things to clarify and check here:
>
> - In the --with-blcr switch of configure you need to specify where you
> have installed the BLCR package. That means, for example, if I have BLCR
> installed in /usr/local/blcr with subdirs as /usr/local/blcr/bin,
> /usr/local/blcr/lib and so on, then I need to specify
> "--with-blcr=/usr/local/blcr" (that is the top level dir)
>
> - In your LD_LIBRARY_PATH, you would then need to specify
> "/usr/local/blcr/lib" (sticking with the previous example) - that is the
> dir where you have the shared library libcr.so.0.
>
> - You would need to make changes in your LD_LIBRARY_PATH *before* lamboot,
> so that the environment can be propagated to the LAM environment
> properly.
>
> Hope this helps!
>
> -Vishal
>
>
> On Wed, 10 Mar 2004, Ritesh Tiwari wrote:
>
> #
> # Hello,
> # I have tested LAM/MPI and BLCR seperately, both are working fine. But now
> # when i have installed LAM/MPI after installing BLCR, i am getting
> # following error in executing any single command of LAM/MPI:
> #
> # [root_at_wt root]#laminfo
> # laminfo: error while loading shared libraries: libcr.so.0: cannot open
> # shared object file: No such file or directory
> #
> # Previosly, by default BLCR was installed in /usr/local/lib/blcr. Which
> # contain just a single directory of 2.4.18-14.
> #
> # So i gave --with-blcr=/usr/local/lib/blcr while configuring the lam/mpi.
> # And in .bash_profile i have added following line:
> #
> # LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/blcr/
> # export LD_LIBRARY_PATH
> #
> # I guess i have done nothing wrong. Even i have copied /usr/local/lib
> # directory which contains lib* files in /usr/local/blcr/ but stil same
> # error is coming.
> #
> # Installing lam/mpi again and again is pretty annoying as it takes
> # resonable time.
> #
> # Please help me out..........
> #
> # Thanks
> #
> # _______________________________________________
> # This list is archived at http://www.lam-mpi.org/MailArchives/lam/
> #
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
|