problems with ver 2.2

The purpose of this forum is to discuss any and all aspects of the
upcoming Workshop on Simulation & Large-scale Testing of Nearshore Wave Dynamics.

problems with ver 2.2

Postby galanti on Sun Oct 17, 2010 6:52 am

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
galanti
 
Posts: 2
Joined: Thu Aug 28, 2008 9:55 am

Re: problems with ver 2.2

Postby benedict.rogers on Tue Oct 19, 2010 5:46 am

Thank you for query. The problem is that you need to select the correct compiler in the Case3.txt file. So, if you want to use
gfortran, select this in the following line by changing "3" to "1":

1 Which compiler is desired: 1=gfortran, 2=ifort, 3=CVF, 4=Silverfrost FTN95

This should then work for you.
Apologies if this is not clear from the instructions.

BDR
benedict.rogers
 
Posts: 10
Joined: Wed Nov 12, 2008 10:20 am


Return to 2009 Benchmarks Challenge

Who is online

Users browsing this forum: No registered users and 1 guest

cron