[CIG-LONG] new install

Matty matty.mookerjee at sonoma.edu
Fri Feb 1 16:56:46 PST 2013


I have tried reconfiguring Petsc without mpi but each time I run test 
make it comes up with errors and then unsurprisingly Gale does not run.

I have tried:

./configure --without-x

./configure --without-x --with-mpi-dir=/etc/openmpi

./configure --without-x --with-mpi-dir=/usr/bin

./configure --with-fc=gfortran --without-x --with-mpi-dir=/usr/bin

  ./configure --with-cc=gcc --with-fc=gfortran --without-x 
--with-mpi-dir=/usr/bin

./configure --with-cc=gcc --with-fc=gfortran --without-x 
--with-mpi-dir=/opt/openmpi

./configure --with-cc=gcc --with-fc=gfortran --without-x

./configure --with-cc=gcc --with-fc=gfortran --without-x --with-mpi=0

./configure --with-cc=gcc --with-fc=gfortran --without-x 
--with-mpi-dir=/etc/openmpi


Any suggestions?

Matty





On 02/01/2013 12:57 PM, Walter Landry wrote:
> Matty <matty.mookerjee at sonoma.edu> wrote:
>> OK adding 'gfortran' to the LIBS line allowed the compile to finish
>> without error but then when I try to run yielding.json I get a segment
>> fault:
>>
>> matty at matty-ThinkPad-T530:~/Programs/Gale/gale$ build/bin/Gale
>> input/cookbook/yielding.json
>> [matty-ThinkPad-T530:07296] *** Process received signal ***
>> [matty-ThinkPad-T530:07296] Signal: Segmentation fault (11)
>> [matty-ThinkPad-T530:07296] Signal code: Address not mapped (1)
>> [matty-ThinkPad-T530:07296] Failing at address: 0x44000098
>> [matty-ThinkPad-T530:07296] [ 0]
>> /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7f5fd048ecb0]
>> [matty-ThinkPad-T530:07296] [ 1] /usr/lib/libmpi.so.0(MPI_Comm_dup+0x53)
>> [0x7f5fd11007b3]
>> [matty-ThinkPad-T530:07296] [ 2] build/bin/Gale(main+0x42) [0xdbf7b7]
>> [matty-ThinkPad-T530:07296] [ 3]
>> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f5fd00e176d]
>> [matty-ThinkPad-T530:07296] [ 4] build/bin/Gale() [0xdbf339]
>> [matty-ThinkPad-T530:07296] *** End of error message ***
>> Segmentation fault (core dumped)
>  From a previous email, you configured petsc like this
>
>     ./configure --with-cc=gcc --with-fc=gfortran --download-f-blas-lapack
>     --download-mpich --without-x
>
> It looks like you have mpi installed on your machine, and it is
> conflicting with the one you downloaded for Petsc.  So you should just
> use the mpi on your machine.  In particular, try configuring Petsc with something like
>
>     ./configure --download-f-blas-lapack --without-x
>
> Make sure that you have libopenmpi-dev or openmpi-dev installed.
>
> In fact, since you are on Ubuntu, you can also get rid of the
> "--download-f-blas-lapack" option by installing liblapack-dev and
> libblas-dev.
>
> Cheers,
> Walter Landry
> _______________________________________________
> CIG-LONG mailing list
> CIG-LONG at geodynamics.org
> http://geodynamics.org/cgi-bin/mailman/listinfo/cig-long
>



More information about the CIG-LONG mailing list