diff --git a/configure.sh b/configure.sh index c7566db..0c178dd 100755 --- a/configure.sh +++ b/configure.sh @@ -1,53 +1,59 @@ #!/bin/bash source Definitions.mk +chmod +x src/FormatFile.sh +chmod +x UserSpace/Cpp/Axion/Axion.sh +chmod +x src/interfacePy/ScanScript/parallel_scan.sh + + bash src/FormatFile.sh $cosmoDat bash src/FormatFile.sh $axMDat bash src/FormatFile.sh $anFDat + # ---------these are needed for python and c++---------------- # mkdir "lib" 2> /dev/null mkdir "exec" 2> /dev/null mkdir "src/misc_dir" 2> /dev/null PathHead=src/misc_dir/path.hpp PathHeadPy=src/misc_dir/path.py PathTypePy=src/misc_dir/type.py echo "from ctypes import c_"$LONGpy"double as cdouble" > $PathTypePy echo "_PATH_=\"$PWD\" "> $PathHeadPy echo "#ifndef PATHS_HEAD #define PATHS_HEAD #define cosmo_PATH \"$PWD/$cosmoDat\" #define chi_PATH \"$PWD/$axMDat\" #define anharmonic_PATH \"$PWD/$anFDat\" #define PWD \"$PWD\" #endif ">$PathHead echo -e "License:" cat LICENSE echo "" echo "" echo "" echo -e "\033[1;5;35m __ __ _ __ __ _____ | \/ | (_) | \/ | / ____| | \ / | _ | \ / | ___ | (___ | |\/| | | | | |\/| | / _ \ \___ \ | | | | | | | | | | | __/ ____) | |_| |_| |_| |_| |_| \___| |_____/ " echo -e "\033[0;97m You can run \"make\" to compile everything. After that, you will find several examples in Examples/, and you can run the executables in exec/ in order to see if the code actually works. "