make test

Jed Brown jed at 59A2.org
Sun Jul 5 13:33:28 CDT 2009


Yixun Liu wrote:
> Satish Balay wrote:
>> On Sun, 5 Jul 2009, Yixun Liu wrote:
>>
>>   
>>> I run it on my computer.
>>>
>>> md[/home/scratch/yixun/petsc-3.0.0-p3/src/ksp/ksp/examples/tutorials>make
>>> ex2
>>>
>>> mpicc -o ex2.o -c -Wall -Wwrite-strings -Wno-strict-aliasing -g3
>>> -I/home/scratch/yixun/petsc-3.0.0-p3/src/dm/mesh/sieve
>>> -I/home/scratch/yixun/petsc-3.0.0-p3/linux-gnu-c-debug/include
>>> -I/home/scratch/yixun/petsc-3.0.0-p3/include
>>> -I/usr/lib64/mpi/gcc/openmpi/include -I/usr/lib64/mpi/gcc/openmpi/lib64
>>> -D__SDIR__="src/ksp/ksp/examples/tutorials/" ex2.c
>>> mpicc -Wall -Wwrite-strings -Wno-strict-aliasing -g3 -o ex2 ex2.o
>>> -Wl,-rpath,/home/scratch/yixun/petsc-3.0.0-p3/linux-gnu-c-debug/lib
>>> -L/home/scratch/yixun/petsc-3.0.0-p3/linux-gnu-c-debug/lib -lpetscksp
>>> -lpetscdm -lpetscmat -lpetscvec -lpetsc -lX11 -llapack -lblas
>>> -L/usr/lib64/mpi/gcc/openmpi/lib64
>>> -L/usr/lib64/gcc/x86_64-suse-linux/4.3 -L/usr/lib64 -L/lib64
>>> -L/usr/x86_64-suse-linux/lib -ldl -lmpi -lopen-rte -lopen-pal -lnsl
>>> -lutil -lgcc_s -lpthread -lmpi_f90 -lmpi_f77 -lgfortranbegin -lgfortran
>>> -lm -lm -L/usr/lib64/gcc/x86_64-suse-linux -L/usr/x86_64-suse-linux/bin
>>> -L/lib -lm -lm -ldl -lmpi -lopen-rte -lopen-pal -lnsl -lutil -lgcc_s
>>> -lpthread -ldl
>>> /bin/rm -f ex2.o
>>>     
>> Did you install this OpenMPI - or did someone-else/sysadmin install it for you?
>>   
> Sysadmin install it. They let me set LD_LIBRARY_PATH to
> /usr/lib64/mpi/gcc/openmpi/lib64, but it still doesn't work.

How about running with 'make runex2_2' or
/usr/lib64/mpi/gcc/openmpi/bin/mpiexec?

Jed

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20090705/8a24983c/attachment.pgp>


More information about the petsc-users mailing list