Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] ORTE Proxy build errors

I'd say there is still something wrong with your environment as this happens when the compiler, linker, or executable fails for some reason. Create a test program like:

#include <mpi.h>
int main(int argc, char *argv[]) {
	MPI_Init(&argc, &argv);
	MPI_Finalize();
	return 0;
}

Try compiling this with 'mpicc -o testMPI testMPI.c'. Then run with 'mpirun -np 2 ./testMPI'. If either command fails then this is likely to be the problem.

Greg

On Jul 2, 2008, at 8:18 AM, Mike Da Silva wrote:


Ok I changed the path to the correct mpicc command it is now pointing to... /share/apps/openmpi/bin/mpicc when i do a which mpicc command. This mpicc is a symbolic link to /share/apps/openmpi/bin/opal_wrapper. When I run the
build command in
eclipse/plugins/org.eclipse.ptp.linux.x86_2.0.0.200806061515 I get the
following error when it comes to building the orte proxy...

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking for mpicc... mpicc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C
compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

Sorry If this is a relatively easy q, but Im a newbie to all of this
regards...

Mike

Greg Watson-2 wrote:

Hi Mike,

Do you have the Open MPI binaries installed in a different location to
the header files (/usr/share/openmpi vs. /share/apps/openmpi)? You're
seeing those error messages because the include path set by the mpicc
command does not contain the Open MPI development headers (although it
looks like you do have the headers installed).

Regards,

Greg


On Jul 1, 2008, at 4:58 AM, Mike Da Silva wrote:


If I do 'which mpicc' it returns /usr/share/openmpi/bin32/mpicc
which is the
directory of where I have installed openmpi. In this directory
/share/apps/openmpi/include/openmpi I have 5 header files and the
following
sub directories which contain a whole lot of header files ompi, opal
and
orte.

Mike


Greg Watson-2 wrote:

Sorry, I missed the last line of your email. Are there any header
files in <ompi_install_dir>/include/openmpi/orte? Is you path
pointing
to the correct mpicc command?

Greg

On Jun 30, 2008, at 12:07 PM, Michael Da Silva wrote:

Hi Greg,

Thanks for the timely response, sorry I must have forgotten to
mention that I did configure openmpi with --with-devel-headers
option.

Mike
_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev

_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev



--
View this message in context:
http://www.nabble.com/ORTE-Proxy-build-errors-tp18196081p18212045.html
Sent from the Eclipse Parallel Tools - Dev mailing list archive at
Nabble.com.

_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev


_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev



--
View this message in context: http://www.nabble.com/ORTE-Proxy-build-errors-tp18196081p18236211.html
Sent from the Eclipse Parallel Tools - Dev mailing list archive at Nabble.com.

_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev




Back to the top