>> The example can be linked. But runns error:
>> [EMAIL PROTECTED]:~/code/cvs_libmesh/examples/ex4$ ./ex4-dbg
>> 0 - <NO ERROR MESSAGE> : Could not convert index 1140850688 into a pointer
>> The index may be an incorrect argument.
>> Possible sources of this problem are a missing "include 'mpif.h'",
>> a misspelled MPI object (e.g., MPI_COM_WORLD instead of MPI_COMM_WORLD)
>> or a misspelled user variable for an MPI object (e.g.,
>> com instead of comm).
> Hmmm... if your system is building 0.6.2 correctly, could it be some
> problem with our attempts to autodetect other compilers?
> Try "CXX=g++ CC=gcc ./configure --enable-vtk=no" or
> "CXX=mpicxx CC=mpicc ./configure --enable-vtk=no" and see if either of
> those unconfuses things.
Might I also suggest "F77=mpif77" ./configure ...
Looking at the output of the configure you sent I see the following, which is
most likely to cause you a headache...
(1) the C++ compiler is recognized as gcc-4.0
(2) g77 is found as your fortran compiler, from gcc-3.4.6
This happens because autoconf looks for g77 before gfortran, and on systems
where both are installed this issue can arise. The easiest way to fix it is to
specifically state the fortran compiler to use. Note I am assuming gcc-4.0 is
what you want and that your MPI was built using that too.
Also, as a sanity check, can you use your mpicxx compiler to successfuly build
any of the sample MPI programs, for instance the 'cpi.c' code attached?
-Ben
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users