CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Siemens (https://www.cfd-online.com/Forums/siemens/)
-   -   Help???Subroutine running erro? (https://www.cfd-online.com/Forums/siemens/54252-help-subroutine-running-erro.html)

blackhole December 13, 2004 09:10

Help???Subroutine running erro?
 
Dear sirs,

I am new learner of star-cd,today I run a case with subroutine,it appear erro as follow!Thank you for your help in advance:)

Linking single precision sequential executable "star.exe" with user subroutines. ..

######################################

WARNING: Command execution error. Please check screen output for details

######################################

starin.f compile error.

Exiting starlink.

f77: error: Switch '-f' is ambiguous

e:\lianxi>pause Press any key to continue . . .

e:\lianxi>REM delete the linkexekey file

e:\lianxi>if exist linkexekey del linkexekey '.\star.exe' is not recognized as an internal or external command, operable program or batch file.

Brian December 14, 2004 05:53

Re: Help???Subroutine running erro?
 
It looks like you don't have Absoft Fortran installed. Absoft is the only Fortran installation supported.

blackhole December 14, 2004 22:04

Re: Help???Subroutine running erro?
 
Dear sirs,

But I have installed absoft fortran MP 7.0,star-cd 3.15!Is the the fortran benhind times.Thank you for your help. Your,sincerely.

matej December 15, 2004 07:24

Re: Help???Subroutine running erro?
 
the version of fortran should be OK.

Are you sure, the absoft is set properly, like the ABSOFT variable shows the path to the directory, where your absoft is isntalled?

check with the install manual of STAR and Absoft.

matej

blackhole December 17, 2004 02:28

Re: Help???Subroutine running erro?
 
Dear sirs,

I am sure absoft have been install properly,since the variable is shown as you said!thank you for your kindness.

matej December 17, 2004 07:12

Re: Help???Subroutine running erro?
 
well, -f in absoft is switch to specify what format the source code is in. Like

f77 -f free will instruct absoft to assume the source code does not follow punch card 72 long line format.

There must be some file in star-cd install dir, where you specify what swithches are sent to absoft during compilation. I do not know where it could be, not a windows user, sorry.

matej


All times are GMT -4. The time now is 18:10.