Most Linux distros ignore repetition of forward slash. Sometimes used as excuse 
for sloppiness. 


Sent via the Samsung Galaxy S8 Active, an AT&T 4G LTE smartphone
-------- Original message --------From: Joshua Wall <joshua.e.w...@gmail.com> 
Date: 1/30/18  10:28 AM  (GMT-05:00) To: users@lists.open-mpi.org Subject: 
[OMPI users] Typo in mpi-fort-wrapper-data.txt? 
Hello users,

    I was installing a new OS this week (Xubuntu 17.10 to be exact) and pulled 
down the latest OMPI from apt on the machine. While trying to compile a MPI 
Fortran program I noticed the following:

josh@josh-UX490UA:/usr/share/openmpi$ mpifort --showme
gfortran -I/usr/lib/x86_64-linux-gnu/openmpi/include -pthread 
-I/usr/lib/x86_64-linux-gnu/openmpi/lib -L/usr//lib 
-L/usr/lib/x86_64-linux-gnu/openmpi/lib -lmpi_usempif08 -lmpi_usempi_ignore_tkr 
-lmpi_mpifh -lmpi

Noticing the double //,  I checked the file and saw it there also:

josh@josh-UX490UA:/usr/share/openmpi$ sudo vim mpifort-wrapper-data.txt 
# There can be multiple blocks of configuration data, chosen by
# compiler flags (using the compiler_args key to chose which block
# should be activated.  This can be useful for multilib builds.  See the
# multilib page at:
#    https://github.com/open-mpi/ompi/wiki/compilerwrapper3264
# for more information.

project=Open MPI
project_short=OMPI
version=2.1.1
language=Fortran
compiler_env=FC
compiler_flags_env=FCFLAGS
compiler=gfortran
preprocessor_flags=
compiler_flags=-pthread  -I${libdir}
linker_flags=-L/usr//lib
# Note that per https://svn.open-mpi.org/trac/ompi/ticket/3422, we
# intentionally only link in the MPI libraries (ORTE, OPAL, etc. are
# pulled in implicitly) because we intend MPI applications to only use
# the MPI API.
libs=-lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi
libs_static=-lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi 
-lopen-rte -lopen-pal  -lhwloc -ldl -lutil -lm
dyn_lib_file=libmpi.so
static_lib_file=libmpi.a
required_file=
includedir=${includedir}
libdir=${libdir}

I'm guessing this is unintentional, but wanted to check since its in the distro 
before I edit it on my end.

Thanks,

Josh
-- 
Joshua Wall
Doctoral Candidate
Department of Physics
Drexel University
3141 Chestnut Street
Philadelphia, PA 19104

_______________________________________________
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

Reply via email to