Hi Chris, This was a Fortran 2008 feature I used in 2.4.0. As I quickly realised it was incompatible with a number of current compilers I took it out again, but not before 2.4.0 was released. So I suggest you install the development version (from the svn repository) and in the meantime I will push 2.4.1 which has this issue fixed.
Daniel On 1 Apr 2014, at 1:24 am, Chris Hardacre <[email protected]> wrote: > Hi Daniel > > I've been asked to compile/install splash 2.4.0 on a server however I > cannot get this to compile, the errors are below, i can send more verbose > outputs if required. > > make PREFIX=/apps/splash/2.4.0 SYSTEM=ifort PARALLEL=yes > > .................... > > Finished building giza > > make[3]: Leaving directory `/root/splash/giza/build' > make[2]: Leaving directory `/root/splash/giza' > ifort -O3 -nbs -i_dynamic -openmp -c ../src/asciiutils.f90 -o asciiutils.o > ../src/asciiutils.f90(565): error #6640: This input/output keyword is > invalid. [NEWUNIT] > open(newunit=lu,file=filename,status='old',iostat=ierr) > ------^ > ../src/asciiutils.f90(565): error #6332: A UNIT= specifier is required for > this I/O operation. > open(newunit=lu,file=filename,status='old',iostat=ierr) > -^ > compilation aborted for ../src/asciiutils.f90 (code 1) > make[1]: *** [asciiutils.o] Error 1 > make[1]: Leaving directory `/root/splash/build' > make: *** [splash] Error 2 > > > > > or > > > > > make PREFIX=/apps/splash/2.4.0 SYSTEM=gfortran PARALLEL=yes > > ........................... > > Finished building giza > > make[3]: Leaving directory `/root/splash/giza/build' > make[2]: Leaving directory `/root/splash/giza' > gfortran -O3 -frecord-marker=4 -fopenmp -I../giza/include/ -c > ../giza/interface/giza-fortran.F90 -o giza-fortran.o > gfortran -O3 -frecord-marker=4 -fopenmp -c ../src/plotlib_giza.f90 -o > plotlib_giza.o > gfortran -O3 -frecord-marker=4 -fopenmp -c ../src/asciiutils.f90 -o > asciiutils.o > ../src/asciiutils.f90:565.13: > > open(newunit=lu,file=filename,status='old',iostat=ierr) > 1 > Error: Syntax error in OPEN statement at (1) > make[1]: *** [asciiutils.o] Error 1 > make[1]: Leaving directory `/root/splash/build' > make: *** [splash] Error 2 > > > > > -- > > Regards, > Chris Hardacre > Linux Support, OCF plc. -- You received this message because you are subscribed to the Google Groups "SPLASH users forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/splash-users. For more options, visit https://groups.google.com/d/optout.
