|
[Sponsors] |
how to compile a user fortran routine in linux |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 26, 2016, 11:46 |
how to compile a user fortran routine in linux
|
#1 |
New Member
Bruce Xiao
Join Date: Jan 2015
Posts: 26
Rep Power: 11 |
hi, everyone
I have successfully compiled a user fortran routine in windows 7. But recently, when I trying compiling a user fortran routine in linux. I've got some problems. Please forgive me for a stupid questions I want to ask. What is the step to compiler a user Fortran routine in Linux. What software I should install before compile. I used ANSYS CFX 14.0 (Linux version). Thanks! |
|
May 3, 2016, 07:17 |
|
#2 | |
New Member
Bruce Xiao
Join Date: Jan 2015
Posts: 26
Rep Power: 11 |
Quote:
This problem have been solved by myself. I unstall Intel Fortran Compiler (or you can also delete the environment varibles of Intel Fortran Compiler). Then, I copy the file "cfx5mkext.ccl" to the working directory. And then add the Portland Group compiler flag "-Bstatic_pgi" to every line which starts with "ext link ldflags =" in cfx5mkext.ccl. See CFX tutorials "Compiling User Fortran for use on Linux Machines Without a Compiler Installation" for more details |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Run a user fortran routine in parallel | Smilodon | CFX | 2 | March 28, 2017 05:35 |
User fortran error when running CFX-10 in parallel | CFDworker | CFX | 3 | September 22, 2015 09:59 |
Comparison between C/C++ and Fortran? | rick | Main CFD Forum | 45 | September 6, 2011 01:52 |
user fortran | omidiut | CFX | 10 | May 8, 2011 03:29 |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |