It's true! c...@hpcmaster:~/openmpi_ext/src$ mpiCC -showme:compile -I/home/csi/openmpi-1.3.3/include -pthread c...@hpcmaster:~/openmpi_ext/src$ mpiCC -showme:link -pthread -L/home/csi/openmpi-1.3.3/lib -lmpi_cxx -lmpi -lopen-rte -lopen-pal -libverbs -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl lrwxrwxrwx 1 root root 23 2010-02-02 14:18 mpicc -> /etc/alternatives/mpicc lrwxrwxrwx 1 root root 23 2010-02-02 14:18 mpiCC -> /etc/alternatives/mpiCC and lrwxrwxrwx 1 root root 22 2010-02-02 14:18 mpicc -> /usr/bin/mpicc.openmpi lrwxrwxrwx 1 root root 23 2010-02-02 14:18 mpiCC -> /usr/bin/mpic++.openmpi then, depending of if you are using c or c++ the result is diferent. Then, the 'problem' could be that the Makefile has defined as mpicc : c...@hpcmaster:~/openmpi_ext/src$ cat Makefile MPICC = mpicc JUNK := $(shell $(MPICC) -showme:compile) MPIINC := $(shell echo $(JUNK) | sed -e "s/-pthread/-lpthread/g") JUNK := $(shell $(MPICC) -showme:link) MPILIBS := $(shell echo $(JUNK) | sed -e "s/-pthread/ /g") all: MPI_Init.oct \ MPI_Initialized.oct \ MPI_Comm_rank.oct \ MPI_Comm_size.oct \ MPI_Finalize.oct \ MPI_Finalized.oct \ MPI_Send.oct \ MPI_Recv.oct \ MPI_Iprobe.oct \ MPI_Probe.oct \ MPI_Barrier.oct \ MPI_Comm_Load.oct \ MPI_Comm_Test.oct \ %.oct: %.cc mkoctfile -s $(MPIINC) $(MPILIBS) $< clean: -rm *.o *.oct *~ Changing mpicc to mpiCC the problem was be fix for me. -- Eduardo Díaz Díaz Centre Tecnològic de Telecomunicacions de Catalunya Telecommunications Technological Center of Catalonia Parc Mediterrani de la Tecnologia Av. Carl Friedrich Gauss 7 (formerly, Av. Canal Olímpic SN) 08860 Castelldefels (Barcelona) Tel.: +34 93 645 29 26 Fax. +34 93 645 29 01 eduardo.d...@cttc.es http://www.cttc.es Riccardo Corradini escribió:
|
------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev