17a18,20 > elif [ -d /etc/dnf ]; then > INSTALL="sudo dnf -y install" > sudo dnf update 19c22 < INSTALL="yum -y install" --- > INSTALL="sudo yum -y install" 36a40,44 > #h5utils, harminv, and meep(-non-mpi) can be installed from Fedora COPR on Fedora 22 or better > #On Fedora 23: > #dnf copr enable hmaarrfk.meep > #dnf install meep > #dnf install h5utils 44c52 < $INSTALL $MPI-bin $MPI-devel hdf5-$MPI-devel --- > $INSTALL $MPI $MPI-devel hdf5-$MPI-devel 66a75,77 > export CPPFLAGS="-I/usr/local/include -I/usr/include/hdf5/$MPI" > export LDFLAGS="-L/usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)/hdf5/$MPI" > export LD_RUN_PATH="/usr/local/lib" 73c84,90 < ./autogen.sh $meep_opt --enable-maintainer-mode --enable-shared --prefix=/usr/local # exits with 1 ? --- > if [ -d /etc/apt ]; then > ./autogen.sh $meep_opt --enable-maintainer-mode --enable-shared --prefix=/usr/local # exits with 1 ? > else > #Fedora (at least) requires the MPI compiler definitions. > CC=/lib64/openmpi/bin/mpicc CXX=/lib64/openmpi/bin/mpicxx F77=/lib64/openmpi/bin/mpif77 ./autogen.sh $meep_opt --enable-maintainer-mode --enable-shared --prefix=/usr/local # exits with 1 ? > fi >