CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

how to compile a user fortran routine in linux

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 26, 2016, 11:46
Default how to compile a user fortran routine in linux
  #1
New Member
 
Bruce Xiao
Join Date: Jan 2015
Posts: 26
Rep Power: 11
xyq916 is on a distinguished road
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!
xyq916 is offline   Reply With Quote

Old   May 3, 2016, 07:17
Smile
  #2
New Member
 
Bruce Xiao
Join Date: Jan 2015
Posts: 26
Rep Power: 11
xyq916 is on a distinguished road
Quote:
Originally Posted by xyq916 View Post
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!
Thanks everyone!
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
xyq916 is offline   Reply With Quote

Reply


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 Off
Pingbacks are On
Refbacks are On


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


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