/usr/bin/elmerld is in libelmer-dev 6.1.0.svn.5396.dfsg2-4ubuntu4.
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 | #!/bin/sh -f
if test "$ELMER_LIB" = ""; then
if test "$ELMER_HOME" = ""; then
LIBDIR=/usr/lib
else
LIBDIR=$ELMER_HOME/lib
fi
else
LIBDIR=$ELMER_LIB
fi
cmd="gfortran -shared -m64 -fPIC $* -L$LIBDIR -lelmersolver"
printf "%s " $cmd
printf "\n"
#gfortran -shared -m64 -fPIC $* -L$LIBDIR -lelmersolver
gfortran -shared -m64 -fPIC $*
|