|
[Sponsors] |
July 27, 2011, 12:14 |
fortran compiler
|
#1 |
Member
sajad
Join Date: Nov 2010
Posts: 51
Rep Power: 15 |
hi dear friends.
when i run toturial 19 in cfx ansys gives me the following error: CCL parser failed with message: Perl Syntax errors detected: cfx5mkext failed at (eval 108) line 1. my system is win7 64 bit and my compiler is Intel Parallel Studio XE 2011 pls help me if any body know how to solve the problem......... |
|
July 28, 2011, 03:39 |
|
#2 |
Member
Ali Torbaty
Join Date: Jul 2009
Location: Sydney, Australia
Posts: 72
Rep Power: 16 |
first thing to say: make sure the PATH variable fully covers all FORTRAN and CFX addresses, you may need to merge addresses from both program command prompts manually
|
|
July 28, 2011, 04:13 |
|
#3 |
Member
sajad
Join Date: Nov 2010
Posts: 51
Rep Power: 15 |
hi ali
and special thanks for your reply i checked the variable path of system.there are some paths refer to ansys and fortran compiler but i dont know which path exactly must be added. can you help me in detail? when i run the session in gives me the following error: .......the compiler comand "ifort" could not be found.plrease ensure that the compiler is on your path and try again................ what this mean to you? best regards |
|
July 28, 2011, 06:29 |
|
#4 |
New Member
Join Date: May 2010
Posts: 9
Rep Power: 15 |
If you have MSwindows and "Intel visual fortran compiler 64" installed on your system, the procedure is easy:
1) run the fortran build environment from the start menu, then a terminal window will open. 2) type the DOS command to reach the path where the .cfx file is 3) open the cfx file with the command "filename.cfx" 4) the cfx-pre window will open 5) follow the tutorial instruction (tools - command editor- !system ("cfx5mkext filename.H") <1 or die "cfx5mkext failed" When you open the Intel build environment, it will set all the needed system variables. You can also define the system variable in the system setting, but it is difficult, time-wasting and un-necessary. Good luck! |
|
July 28, 2011, 06:30 |
|
#5 |
New Member
Join Date: May 2010
Posts: 9
Rep Power: 15 |
||
July 29, 2011, 05:02 |
|
#6 | |
Member
Ali Torbaty
Join Date: Jul 2009
Location: Sydney, Australia
Posts: 72
Rep Power: 16 |
Quote:
1- open cfx command prompt (CFX->Tools->Command Line) 2- run "PATH" command 3- copy the reult and paste it in a text file 4- open "Fortran Build Environment for applications..." command prompt 5- run "PATH" command in this new window 6- copy the result and paste it in the same text file 7- now merge the two PATH commands and make one 8- run this new PATH command in "Fortran Build Environment for applications..." command prompt. 9- in the "Fortran ..." command prompt change folder to project folder where the fortran code is saved and run "cfx5mkext yourfile.F" from command prompt 10- it should build subfolder with respected .dll file in it |
||
July 29, 2011, 17:02 |
|
#7 |
Member
sajad
Join Date: Nov 2010
Posts: 51
Rep Power: 15 |
hi to you two.
i will do what you write and i will know you the result. thanks so much for your honestly help. |
|
January 28, 2013, 10:36 |
|
#8 |
New Member
张
Join Date: Jan 2013
Posts: 5
Rep Power: 13 |
I haved tried this method,it worked.
Thanks pingub! |
|
February 25, 2013, 10:33 |
|
#9 | |
New Member
Petterson V Pramiu
Join Date: Feb 2013
Location: Brazil
Posts: 13
Rep Power: 13 |
Quote:
I have done the suggestions above, but the folder and files. dll, are not created. When running the command: "cfx5mkext pt_erosion.F" inside the folder "userFortran" no error message appears but no folders or files are created : Confuso:. Can you help? thank you |
||
November 11, 2013, 17:34 |
|
#10 |
Senior Member
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 17 |
Hi,
I am running CFX on linux machine. anyone know how to set this thing right in linux? Thanks |
|
November 12, 2013, 10:18 |
|
#11 | |
Senior Member
Join Date: Feb 2011
Posts: 495
Rep Power: 18 |
Quote:
1. Run CFX Standalone; 2. Set path to the location where my fortran sources are; 3. Open cfx command prompt; 4. Execute inside it following command: call "C:\Program Files (x86)\Intel\ComposerXE-2011\bin\ifortvars.bat" Intel64; 5. Then to compile my sources: cfx5mkext my_src.F; 6. Take compiled dlls from location that was set at step 2. |
||
May 20, 2014, 20:16 |
|
#12 | |
New Member
Join Date: Apr 2014
Posts: 6
Rep Power: 11 |
Quote:
I am working on the same topic and trying your method, could you explain what does it mean by "merging" two paths of Fortran and CFX? I mean after I put both paths in one text file how do I call this file in command prompt? Thank you! |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Intel Fortran Compiler & Tutorial 17 | Young | CFX | 1 | March 30, 2011 02:39 |
Fortran Compiler and example | Young | CFX | 1 | March 22, 2011 23:26 |
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found | piprus | OpenFOAM Installation | 22 | February 25, 2010 14:43 |
Fortran compiler | Erik | Siemens | 2 | November 28, 2008 21:05 |
Fortran compiler | Arnab | Siemens | 5 | September 14, 2004 04:59 |