/usr/lib/mpich/etc/mpichlib.conf is in libmpich1.0-dev 1.2.7-10ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | #! /bin/sh
#
# This file contains information on the MPICH configuration
#
# Variables used to build the MPICH libraries
CC="cc"
mpich_includes='-I/build/buildd/mpich-1.2.7/include -I/build/buildd/mpich-1.2.7/image_mpich/include -I/build/buildd/mpich-1.2.7/image_mpich/mpid/ch_p4 -I/build/buildd/mpich-1.2.7/mpid/util -I/build/buildd/mpich-1.2.7/mpid/ch_p4'
#
# Installation directories defined at configure time for mpich
# We need execprefix because libdir and bindir may be in terms of execprefix
prefix=/usr/lib/mpich
exec_prefix=${prefix}
libdir='${exec_prefix}/lib'
bindir='${exec_prefix}/bin'
#
# Variables needed to *use* the MPICH libraries
MPILIBNAME="mpich"
LIB_PATH='-L${libdir} '
BASE_LIB_LIST=" -lpthread -lrt "
LDFLAGSBASE="-Wl,-Bsymbolic-functions -Wl,-z,relro"
HASMPE="yes"
ROMIO_LFLAGS=""
ROMIO_TFFLAGS=""
ROMIO_TCFLAGS=""
MPI_WITH_PMPI="yes"
#
# Shared library support (replace with libtool?)
SHAREDKIND=gcc
SHARED_LIB_SEARCH_PATH_LEADER="-Wl,-rpath -Wl,"
SHARED_LIB_LOCALDIR=''
sharedlibbuild_dir='/build/buildd/mpich-1.2.7/image_mpich/lib/shared'
#
# Information about MPI data structures
MPI_STATUS_SIZE=4
#
# Variables used by mpicc and mpiCC/mpicxx that are needed to support
# alternate C compilers
CLINKER="cc"
FLIBNAME="mpich"
F77_IN_C_LIBS=""
sharedlibdir=/build/buildd/mpich-1.2.7/image_mpich/lib/shared
# C++ flags
CCC="g++"
CCFLAGS=" -DUSE_STDARG -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DUSE_STDARG=1 -DMALLOC_RET_VOID=1"
CXXFLAGS="-I${includedir}/mpi2c++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -fexceptions"
CCLINKER="g++"
|