Author Topic: Install FEAP 8.3 + petsc 3.1  (Read 7026 times)

Shu

  • Jr. Member
  • **
  • Posts: 25
Install FEAP 8.3 + petsc 3.1
« on: February 27, 2013, 02:01:21 PM »
Dear All,

I am installing parfeap with Petsc 3.1. The serial code is compiled fine, but after I set petsc env, i cannot compile the parallel feap with mvapich-pgi nor mvapich-intel nor mpich2. Although gfortran can make it happen, but it should not able to run parallel case correctly. The compile error is like,

/ver83/program/mkside.f:92: undefined reference to `for_write_seq_fmt_xmit

After google a little bit, it is classic fortran-c programming problem. the libraries cannot be linked together. Thanks for any suggestions.

Shu

FEAP_Admin

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 993
Re: Install FEAP 8.3 + petsc 3.1
« Reply #1 on: February 27, 2013, 02:46:54 PM »
Shu, it probably is important to compile the code with the same underlying compilers both serial and parallel.
The reason is that the parallel code will make use of objects from the serial code.  There are low level conflicts
in the object-codes, then this will be a disaster.

For our internal testing we use gfortran and intel.  MPI versions that we test against are MPICH and OPENMPI, interconnects include gigabit ethernet and infiniband.  We test all 8 combinations.