[LLVMdev] f95 problem with SPEC2K

Kenneth Hoste kenneth.hoste at elis.ugent.be
Sat Nov 25 01:12:10 PST 2006


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





More information about the llvm-dev mailing list