I have just downloaded the latest version of SPHYSICS- 2.2.
When I using the option "COMPILE & RUN SPHYSICS EXECUTABLE IN ONE STEP" and choosing ./CaseN_unix_gfortran.bat
I get the following:
rm *.o *.mod
gfortran -O3 -c -o SPHYSICSgen_3D.o SPHYSICSgen_3D.f
gfortran -O3 -c -o external_file.o external_file.f
gfortran -O3 -o SPHYSICSgen_3D ./SPHYSICSgen_3D.o external_file.o
if [ -d ../../execs.bak ]; then \
echo execs.bak Directory Exists; else \
mkdir ../../execs.bak; \
echo execs.bak Directory Created; \
fi
execs.bak Directory Exists
if [ -d ../../execs ]; then \
echo execs Directory Exists; else \
mkdir ../../execs; \
echo execs Directory Created; \
fi
execs Directory Exists
if [ -f ../../execs/SPHYSICSgen_3D ]; then \
mv ../../execs/SPHYSICSgen_3D ../../execs.bak/; \
echo Old SPHYSICSgen_3D moved to execs.bak from execs; \
fi
Old SPHYSICSgen_3D moved to execs.bak from execs
mv SPHYSICSgen_3D ../../execs
echo New SPHYSICSgen_3D moved to execs
New SPHYSICSgen_3D moved to execs
SPHYSICSGENcompilationDone = yes
/work/WORK/SPHYSICS/SPHYSICS_3D_2.2.000/source/SPHYSICS3D
del *.mod *.obj
del: cannot remove `*.mod': No such file or directory
del: cannot remove `*.obj': No such file or directory
make: *** [clean] Error 1
make: *** No rule to make target `energy_3D.obj', needed by `SPHYSICS_3D.exe'. Stop.
--------------------------------------------------------------------------------------------------------------------
I guess that the problem is with SPHYSICSgen_3D which generates wrong make file for the chosen architecture.
The problem also occurs for the 2D and for ifort compiler (on linux).
With thanks,
Barak Galanti