CFD Online Logo CFD Online URL
Home > Forums > CFX

Compile subroutines

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   August 12, 2005, 09:19
Default Compile subroutines
Posts: n/a

I just started to use user subroutine in CFX 5.7.1. For the time being, I tried to test to see how to compile the *.F files.

I copied some sample fortran files to the working directory. But when I tried:

! system ("cfx5mkext PipeValve_inlet.F") == 0 or die;

It respond :

ERROR CCL parser failed with message: Perl Syntax errors detected: Died at (eval 15) line 2.

I then tried to use OS command, cfx5mkext can not even be recognised by windows! It still did not work after I copied cfx5mkext.ccl to the working directory!

I am using compaq vision fortran 6.

Thanks for your help.

  Reply With Quote

Old   August 20, 2005, 10:59
Default Re: Compile subroutines
Posts: n/a

Make sure you're running from a command window spawned from the CFX-5 launcher (under Tools | Command Window). This sets a large number of environment variables and paths necessary for cfx5mkext to work.

  Reply With Quote

Old   August 22, 2005, 05:18
Default Re: Compile subroutines
Posts: n/a
Thanks Jeff.

you are right! I did not know I should run the command window from CFX in the beginning. So I mannually modified the Path to include all the librairis and directories in CFX. It is working now. Cheers

  Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
ATTN ALL: SOLUTON TO UDF COMPILE PROBLEM Rizwan Fluent UDF and Scheme Programming 32 May 8, 2015 06:05
How to compile OpenFOAM-1.7.x on CrunchBang linux 10 gwierink OpenFOAM Installation 0 April 5, 2011 04:38
PV3FoamReader compile error.... PEM_GUY OpenFOAM Installation 6 April 5, 2010 17:22
Error compile file udf czfluent Fluent UDF and Scheme Programming 24 September 26, 2009 13:24
Can someone PLEASE document the development version installation bernd OpenFOAM Installation 76 November 14, 2008 22:51

All times are GMT -4. The time now is 21:32.