Anyone know what to do about this: make[4]: Leaving directory `/proj/llvm/llvm-test-1/External/SPEC/CFP2000/173.applu' make[4]: Entering directory `/proj/llvm/llvm-test-1/External/SPEC/CFP2000/178.galgel' /usr/bin/f95 -w -S -O2 /opt/spec/CPU2000v1.3.1/benchspec//CFP2000/178.galgel/src/modules.f90 -o modules.c -fixed -kind=byte -dcfuns -dusty f95: unrecognized option '-kind=byte' f951: warning: unrecognized gcc debugging option: u f951: warning: unrecognized gcc debugging option: u f951: error: unrecognized command line option "-fixed" make[4]: *** [modules.c] Error 1 ? This man page: http://www.die.net/doc/linux/man/man1/gfortran.1.html says there's no such option as -kind Do I need some special version of f95 to run the SPEC2K tests? Reid.
On 25 Nov 2006, at 09:02, Reid Spencer wrote:> Anyone know what to do about this: > > make[4]: Leaving directory `/proj/llvm/llvm-test-1/External/SPEC/ > CFP2000/173.applu' > make[4]: Entering directory `/proj/llvm/llvm-test-1/External/SPEC/ > CFP2000/178.galgel' > /usr/bin/f95 -w -S -O2 /opt/spec/CPU2000v1.3.1/benchspec// > CFP2000/178.galgel/src/modules.f90 -o modules.c -fixed -kind=byte - > dcfuns -dusty > f95: unrecognized option '-kind=byte' > f951: warning: unrecognized gcc debugging option: u > f951: warning: unrecognized gcc debugging option: u > f951: error: unrecognized command line option "-fixed" > make[4]: *** [modules.c] Error 1 > > ? > > This man page: > http://www.die.net/doc/linux/man/man1/gfortran.1.html > > says there's no such option as -kind > > Do I need some special version of f95 to run the SPEC2K tests?If I'm correct, f95 has nothing to do with GCC. GCC has the gfortran compiler, but this is a Fortran-to-binary compiler. You want the NAG f95 compiler, which allows Fortran-to-C translation, what you appear to be doing. http://www.nag.co.uk/nagware/np.asp (it's commercial, but I think at least Chris has a license for this). greetings, Kenneth -- Statistics are like a bikini. What they reveal is suggestive, but what they conceal is vital (Aaron Levenstein) Kenneth Hoste ELIS - Ghent University kenneth.hoste at elis.ugent.be http://www.elis.ugent.be/~kehoste
Hi Kenneth, On Sat, 2006-11-25 at 10:12 +0100, Kenneth Hoste wrote:> > > > ? > > > > This man page: > > http://www.die.net/doc/linux/man/man1/gfortran.1.html > > > > says there's no such option as -kind > > > > Do I need some special version of f95 to run the SPEC2K tests? > > If I'm correct, f95 has nothing to do with GCC.As I just discovered, gfortran creates an f95 symbolic link to gfortran when it is installed.> GCC has the gfortran compiler, but this is a Fortran-to-binary compiler. > You want the NAG f95 compiler, which allows Fortran-to-C translation, > what you appear to be doing.Yes, I believe I do.> http://www.nag.co.uk/nagware/np.asp (it's commercial, but I think at > least Chris has a license for this).It seems our "sanity check" in configure for f95 isn't correct. Its checking for NAG f95, not gfortran. However, the sanity check "passed" on the gfortran link for f95. I'll fix that and see if SPEC will complete. Thanks for pointing it out ! Reid.> > greetings, > > Kenneth >
Possibly Parallel Threads
- [LLVMdev] f95 problem with SPEC2K
- [LLVMdev] compiling the full SPEC CPU2000 suite to LLVM bytecode
- [LLVMdev] compiling the full SPEC CPU2000 suite to LLVM bytecode
- [LLVMdev] compiling the full SPEC CPU2000 suite to LLVM bytecode
- [LLVMdev] compiling the full SPEC CPU2000 suite to LLVM bytecode