Hello,
Please, if you can help me with following compiling errors.
After compiling blacs Libs using g77-3.3 and using
BLACS/TESTING Makefile, I obtain:
================================================
( cd TESTING ; make )
make[1]: Entering directory `/home/gortiz/Blacs/BLACS/TESTING'
g77 -fno-globals -fno-f90 -fugly-complex -w -c blacstest.f
make mpif.h
make[2]: Entering directory `/home/gortiz/Blacs/BLACS/TESTING'
rm -f mpif.h
ln -s /opt/mpich/include/mpif.h mpif.h
make[2]: Leaving directory `/home/gortiz/Blacs/BLACS/TESTING'
g77 -c -O btprim_MPI.f
g77 -c tools.f
g77 -o /home/gortiz/Blacs/BLACS/TESTING/EXE/xFbtest_MPI-LINUX-0 blacstest.o btprim_MPI.o tools.o /home/gortiz/Blacs/BLACS/LIB/blacsF77init_MPI-LINUX-0.a /home/gortiz/Blacs/BLACS/LIB/blacs_MPI-LINUX-0.a /home/gortiz/Blacs/BLACS/LIB/blacsF77init_MPI-LINUX-0.a /opt/mpich/ch-p4mpd/lib64/libmpich.a
btprim_MPI.o: In function `btsetup_':
btprim_MPI.f:(.text+0x24): undefined reference to `mpi_initialized__'
btprim_MPI.f:(.text+0x38): undefined reference to `mpi_init__'
btprim_MPI.f:(.text+0x7a): undefined reference to `mpi_comm_dup__'
btprim_MPI.o: In function `ibtmyproc_':
btprim_MPI.f:(.text+0xc3): undefined reference to `mpi_comm_rank__'
btprim_MPI.o: In function `ibtnprocs_':
btprim_MPI.f:(.text+0x110): undefined reference to `mpi_comm_size__'
btprim_MPI.o: In function `btsend_':
btprim_MPI.f:(.text+0x229): undefined reference to `mpi_send__'
btprim_MPI.f:(.text+0x27f): undefined reference to `mpi_send__'
btprim_MPI.o: In function `btrecv_':
btprim_MPI.f:(.text+0x354): undefined reference to `mpi_recv__'
btprim_MPI.o: In function `ibtsizeof_':
btprim_MPI.f:(.text+0x3a5): undefined reference to `mpi_initialized__'
btprim_MPI.f:(.text+0x3bb): undefined reference to `mpi_init__'
btprim_MPI.f:(.text+0x505): undefined reference to `mpi_type_size__'
btprim_MPI.o: In function `btmpierr_':
btprim_MPI.f:(.text+0x5ab): undefined reference to `mpi_abort__'
btprim_MPI.o:(.data+0x0): undefined reference to `mpi_dup_fn__'
btprim_MPI.o:(.data+0x8): undefined reference to `mpi_null_delete_fn__'
btprim_MPI.o:(.data+0x10): undefined reference to `mpi_null_copy_fn__'
btprim_MPI.o:(.data+0x18): undefined reference to `mpi_dup_fn__'
btprim_MPI.o:(.data+0x20): undefined reference to `mpi_null_delete_fn__'
btprim_MPI.o:(.data+0x28): undefined reference to `mpi_null_copy_fn__'
btprim_MPI.o:(.data+0x30): undefined reference to `mpi_dup_fn__'
btprim_MPI.o:(.data+0x38): undefined reference to `mpi_null_delete_fn__'
btprim_MPI.o:(.data+0x40): undefined reference to `mpi_null_copy_fn__'
btprim_MPI.o:(.data+0x48): undefined reference to `mpi_dup_fn__'
btprim_MPI.o:(.data+0x50): undefined reference to `mpi_null_delete_fn__'
btprim_MPI.o:(.data+0x58): undefined reference to `mpi_null_copy_fn__'
btprim_MPI.o:(.data+0x60): undefined reference to `mpi_dup_fn__'
btprim_MPI.o:(.data+0x68): undefined reference to `mpi_null_delete_fn__'
btprim_MPI.o:(.data+0x70): undefined reference to `mpi_null_copy_fn__'
btprim_MPI.o:(.data+0x78): undefined reference to `mpi_dup_fn__'
btprim_MPI.o:(.data+0x80): undefined reference to `mpi_null_delete_fn__'
btprim_MPI.o:(.data+0x88): undefined reference to `mpi_null_copy_fn__'
btprim_MPI.o:(.data+0x90): undefined reference to `mpi_dup_fn__'
btprim_MPI.o:(.data+0x98): undefined reference to `mpi_null_delete_fn__'
btprim_MPI.o:(.data+0xa0): undefined reference to `mpi_null_copy_fn__'
/home/gortiz/Blacs/BLACS/LIB/blacs_MPI-LINUX-0.a(bi_f77_get_constants.o):(.data+0x0): undefined reference to `mpi_conversion_fn_null__'
/home/gortiz/Blacs/BLACS/LIB/blacs_MPI-LINUX-0.a(bi_f77_get_constants.o):(.data+0x8): undefined reference to `mpi_type_null_copy_fn__'
/home/gortiz/Blacs/BLACS/LIB/blacs_MPI-LINUX-0.a(bi_f77_get_constants.o):(.data+0x10): undefined reference to `mpi_type_null_delete_fn__'
/home/gortiz/Blacs/BLACS/LIB/blacs_MPI-LINUX-0.a(bi_f77_get_constants.o):(.data+0x18): undefined reference to `mpi_type_dup_fn__'
/home/gortiz/Blacs/BLACS/LIB/blacs_MPI-LINUX-0.a(bi_f77_get_constants.o):(.data+0x20): undefined reference to `mpi_win_null_copy_fn__'
/home/gortiz/Blacs/BLACS/LIB/blacs_MPI-LINUX-0.a(bi_f77_get_constants.o):(.data+0x28): undefined reference to `mpi_win_null_delete_fn__'
/home/gortiz/Blacs/BLACS/LIB/blacs_MPI-LINUX-0.a(bi_f77_get_constants.o):(.data+0x30): undefined reference to `mpi_win_dup_fn__'
/home/gortiz/Blacs/BLACS/LIB/blacs_MPI-LINUX-0.a(bi_f77_get_constants.o):(.data+0x38): undefined reference to `mpi_comm_null_copy_fn__'
/home/gortiz/Blacs/BLACS/LIB/blacs_MPI-LINUX-0.a(bi_f77_get_constants.o):(.data+0x40): undefined reference to `mpi_comm_null_delete_fn__'
/home/gortiz/Blacs/BLACS/LIB/blacs_MPI-LINUX-0.a(bi_f77_get_constants.o):(.data+0x48): undefined reference to `mpi_comm_dup_fn__'
/home/gortiz/Blacs/BLACS/LIB/blacs_MPI-LINUX-0.a(bi_f77_get_constants.o):(.data+0x50): undefined reference to `mpi_null_copy_fn__'
/home/gortiz/Blacs/BLACS/LIB/blacs_MPI-LINUX-0.a(bi_f77_get_constants.o):(.data+0x58): undefined reference to `mpi_null_delete_fn__'
/home/gortiz/Blacs/BLACS/LIB/blacs_MPI-LINUX-0.a(bi_f77_get_constants.o):(.data+0x60): undefined reference to `mpi_dup_fn__'
/home/gortiz/Blacs/BLACS/LIB/blacs_MPI-LINUX-0.a(bi_f77_init.o): In function `bi_f77_init__':
bi_f77_init.f:(.text+0xf): undefined reference to `mpi_init__'
collect2: ld returned 1 exit status
make[1]: *** [/home/gortiz/Blacs/BLACS/TESTING/EXE/xFbtest_MPI-LINUX-0] Error 1
make[1]: Leaving directory `/home/gortiz/Blacs/BLACS/TESTING'
make: *** [tester] Error 2
====================================================
Thanks a lot,
g.

