Repairing bugs introduced by attempting to disconnect X11 dependency

This commit is contained in:
Adiv Paradise committed 2021-09-10 15:02:10 -04:00
1 parent d872a0a960
commit 903c481882
4 files changed
+41 -40

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ copyright = '2020, Adiv Paradise'
author = 'Adiv Paradise'
# The full version, including alpha/beta/rc tags
release = '3.0.0a27'
release = '3.0.0a28'
# -- General configuration ---------------------------------------------------
+39 -37
View File
@@ -115,34 +115,34 @@ else
exit 1
fi
#check for Xlib
if [ -e "/usr/X11/lib64/libX11.so" ] ; then
XLIB_PATH="/usr/X11/lib64"
XINC_PATH="/usr/X11/lib64/include"
elif [ -e "/usr/lib64/libX11.so" ] ; then
XLIB_PATH="/usr/lib64"
XINC_PATH="/usr/lib64/include"
elif [ -e "/usr/X11/lib" ] ; then
XLIB_PATH="/usr/X11/lib"
XINC_PATH="/usr/X11/include"
elif [ -e "/usr/lib/X11" ] ; then
XLIB_PATH="/usr/lib/X11"
XINC_PATH="/usr/lib/X11/include"
elif [ -e "/opt/X11" ] ; then
XLIB_PATH="/opt/X11"
XINC_PATH="/opt/X11/include"
fi
if [ -n ${XLIB_PATH} ] ; then
echo "Found Xlib (X11) at: $XLIB_PATH"
GUILIB="-L$XLIB_PATH -lX11"
else
echo "**********************************************"
echo "* Didn't find Xlib (X11) at standard paths *"
echo "* Hopefully the compiler will find it itself *"
echo "**********************************************"
GUILIB=" -lX11"
fi
# We no longer need Xlib
# #check for Xlib
# if [ -e "/usr/X11/lib64/libX11.so" ] ; then
# XLIB_PATH="/usr/X11/lib64"
# XINC_PATH="/usr/X11/lib64/include"
# elif [ -e "/usr/lib64/libX11.so" ] ; then
# XLIB_PATH="/usr/lib64"
# XINC_PATH="/usr/lib64/include"
# elif [ -e "/usr/X11/lib" ] ; then
# XLIB_PATH="/usr/X11/lib"
# XINC_PATH="/usr/X11/include"
# elif [ -e "/usr/lib/X11" ] ; then
# XLIB_PATH="/usr/lib/X11"
# XINC_PATH="/usr/lib/X11/include"
# elif [ -e "/opt/X11" ] ; then
# XLIB_PATH="/opt/X11"
# XINC_PATH="/opt/X11/include"
# fi
# if [ -n ${XLIB_PATH} ] ; then
# echo "Found Xlib (X11) at: $XLIB_PATH"
# GUILIB="-L$XLIB_PATH -lX11"
# else
# echo "**********************************************"
# echo "* Didn't find Xlib (X11) at standard paths *"
# echo "* Hopefully the compiler will find it itself *"
# echo "**********************************************"
# GUILIB=" -lX11"
# fi
#check for C compiler
# put your favourite compiler in front if you have more than one
@@ -156,7 +156,8 @@ done
if [ $MOST_CC != "NO_CC" ] ; then
CC_PATH=`which $MOST_CC`
echo >> most_compiler MOST_CC=$MOST_CC " # " $CC_PATH
echo >> most_compiler "MOST_CC_OPTS=-O3 -I" $XINC_PATH
echo >> most_compiler "MOST_CC_OPTS=-O3"
# -I" $XINC_PATH
echo "Found C compiler at: $CC_PATH"
if [ $MOST_CC = "suncc" ] ; then
echo >> most_debug_options "MOST_CC_OPTS=-g -C -ftrap=common"
@@ -299,15 +300,16 @@ else
echo >> most_compiler LEGMOD=legsym
echo >> most_compiler LEGFAST=
fi
echo >> most_compiler "GUILIB=$GUILIB"
echo >> most_compiler_mpi "GUILIB=$GUILIB"
echo >> most_compiler "GUIMOD=guimod"
echo >> most_compiler_mpi "GUIMOD=guimod"
echo >> most_compiler "PUMAX=pumax"
echo >> most_compiler_mpi "PUMAX=pumax"
#
# echo >> most_compiler "GUILIB=$GUILIB"
# echo >> most_compiler_mpi "GUILIB=$GUILIB"
echo >> most_compiler "GUIMOD=guimod_stub"
echo >> most_compiler_mpi "GUIMOD=guimod_stub"
echo >> most_compiler "PUMAX=pumax_stub"
echo >> most_compiler_mpi "PUMAX=pumax_stub"
echo > makefile "most.x: most.c"
echo >> makefile " $MOST_CC -o most.x most.c -I$XINC_PATH -lm $GUILIB"
echo >> makefile " $MOST_CC -o most.x most.c"
#-I$XINC_PATH -lm $GUILIB"
echo >> makefile "clean:"
echo >> makefile " rm -f *.o *.x F90* most_*"
-1
View File
@@ -15,7 +15,6 @@
# MOST_F90_OPTS=-O # FORTRAN options
# MOST_CC=cc # name of the C compiler for GUI
# MOST_CC_OPTS=-O # C options
# MOST_XLIB="-L/usr/lib64" # path to Xlib
# fftmod is faster than fft991mod, but fft991mod supports
# more resolutions, e.g. T63 and T106
+1 -1
View File
@@ -3,7 +3,7 @@ import os
setup(
name='exoplasim',
version='3.0.0a27',
version='3.0.0a28',
packages=['exoplasim',],
zip_safe=False,
install_requires=["numpy>=1.16","matplotlib","scipy"],