george
2010-06-23 10:53:36 UTC
Hello,
I am a student and I am taking a ourse on MPI.
I tried to install mpich2 on my laptop so that I can compile and run
programs without having to log in the University Cluster all the time.
I was following the installation instructions and everything seemed fine
until I tried to compile my first program.
It is an example program provided with the mpich2 source code.
The error I am getting is the following:
$ mpicc cpi.c -o cpi
/usr/bin/ld: cannot find -lopa
collect2: ld returned 1 exit status
My programs give me the same error as this one.
Even if they run normally on the University Cluster.
I couldn't find any information on this -lopa option.
Does anyone now how to fix this?
I will see my instructors later today and ask them about my problem but
if it is possible I would like to solve this problem without their help.
Any information on this will be very helpful.
Thank you very much for your time
I am a student and I am taking a ourse on MPI.
I tried to install mpich2 on my laptop so that I can compile and run
programs without having to log in the University Cluster all the time.
I was following the installation instructions and everything seemed fine
until I tried to compile my first program.
It is an example program provided with the mpich2 source code.
The error I am getting is the following:
$ mpicc cpi.c -o cpi
/usr/bin/ld: cannot find -lopa
collect2: ld returned 1 exit status
My programs give me the same error as this one.
Even if they run normally on the University Cluster.
I couldn't find any information on this -lopa option.
Does anyone now how to fix this?
I will see my instructors later today and ask them about my problem but
if it is possible I would like to solve this problem without their help.
Any information on this will be very helpful.
Thank you very much for your time