On Mar 7, 2013, at 9:31 AM, Reuti <re...@staff.uni-marburg.de> wrote:

>> [root@tesla examples]# echo $LD_LIBRARY_PATH
>> /opt/scyld/openmpi/1.6.4/gnu/lib
>> [root@tesla examples]# which mpicc
>> /opt/scyld/openmpi/1.6.4/gnu/bin/mpicc
>> [root@tesla examples]# mpicc -o hello_c hello_c.c
>> /tmp/ccuZg1I9.o: In function `main':
>> hello_c.c:(.text+0x1d): undefined reference to `ompi_mpi_comm_world'
>> hello_c.c:(.text+0x2b): undefined reference to `ompi_mpi_comm_world'
> 
> What is the output if you compile in addition with -v (verbose)?

Also, what's the output if you use --showme?  I'd like to see the underlying 
command that is being used.

When you successfully compile/link hello_cxx, what does "ldd hello_cxx" show?

-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/


Reply via email to