fortran compiler
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......... |
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
|
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 |
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! |
Quote:
|
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 |
hi to you two.
i will do what you write and i will know you the result. thanks so much for your honestly help. |
I haved tried this method,it worked.
Thanks pingub! |
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 |
Hi,
I am running CFX on linux machine. anyone know how to set this thing right in linux? Thanks |
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. |
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! |
All times are GMT -4. The time now is 04:31. |