llnl / llnl/mpiP

Can not go through the fortran part

Open
#42 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
112
Forks
35
PR merge metrics
No merged PRs in 30d

Description

Hi,

I am trying to build mpiP on Argonne Polaris system, but it raises an issue when running "./configure;"

Do you have any idea to solve it?

Thanks
-Zhen

Below are the logs:
./configure;
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu

Note: mpiP sets cross_compiling to yes to keep configure from failing in
the case where test executables would need to be run as a parallel job.

checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for python... python
checking for mpixlc... no
checking for mpiicc... no
checking for cmpicc... no
checking for mpcc... no
checking for mpicc... mpicc
checking for mpixlC... no
checking for mpiicpc... no
checking for mpiCC... no
checking for mpicxx... mpicxx
checking for mpixlf... no
checking for mpiifort... no
checking for mpifort... mpifort
checking for poe... no
checking for jsrun... no
checking for srun... no
checking for prun... no
checking for mpirun... no
checking for mpiexec... mpiexec
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mpicc accepts -g... yes
checking for mpicc option to accept ISO C89... none needed
checking for sqrt in -lm... yes
checking how to run the C preprocessor... mpicc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of void*... 8
checking PIC flags... -fpic -DPIC
checking whether MPI_Init is declared... yes
checking for library containing dlopen... -ldl
checking for inflate in -lz... yes
checking for dcgettext__ in -lintl... no
checking for objalloc_create in -liberty... yes
checking bfd.h usability... yes
checking bfd.h presence... yes
checking for bfd.h... yes
checking for bfd_openr in -lbfd... yes
checking whether bfd_get_section_size is declared... no
checking whether bfd_get_section_vma is declared... no
checking for bfd_boolean... yes
checking demangle.h usability... yes
checking demangle.h presence... yes
checking for demangle.h... yes
checking for MPIR_ToPointer in -lmpi... no
checking for MPIR_ToPointer in -lmpich... no
checking for rts_get_timebase... no
checking whether _rtc is declared... no
checking for mread_real_time... no
checking for read_real_time... no
checking for MPI_Wtime... yes
checking libunwind.h usability... yes
checking libunwind.h presence... yes
checking for libunwind.h... yes
checking for MPI_File_open... no
checking for MPI_File_open in -lmpio... no
MPI I/O symbols not found. MPI I/O reporting deactivated.
checking for MPI_Win_allocate... no
MPI RMA symbols not found. MPI RMA reporting deactivated.
checking for MPI_Ibarrier... no
MPI NONBLOCKINGCOLLECTIVES symbols not found. MPI NONBLOCKINGCOLLECTIVES reporting deactivated.
checking /proc/self/maps... yes
checking for getline... no
getline not found so SO lookup is disabled.
checking fortran to C conversion... functions not found translation deactivated
checking ARM LSE... no
checking fortran symbols... could not determine F77 symbol names. Example error follows:
configure: flink.c:1:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
main(){ FF(); return 0; }
^
int
flink.c:1:9: error: call to undeclared function 'f_fun'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
main(){ FF(); return 0; }
^
:1:12: note: expanded from here
#define FF f_fun
^
2 errors generated.
configure: error: giving up

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the ./configure output, especially the “fortran to C conversion” and “fortran symbols” checks that fail after MPI, BFD, and libunwind detection. Compare the Fortran compiler and symbol naming available on the Argonne Polaris system; done means configure completes without giving up during Fortran symbol detection.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, fortran
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.