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

CFX 17.2 User Fortran

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 4, 2017, 16:00
Default CFX 17.2 User Fortran
  #1
New Member
 
Join Date: Jan 2016
Posts: 12
Rep Power: 10
hmdl is on a distinguished road
Hello all,

after compiling the fortran routines I get the following errors on run:
Any help understanding the errors is appreciated. I should note that I have already rebuild the libraries using cfx5mkext.

Code:
 +--------------------------------------------------------------------+
 | ERROR #001100279 has occurred in subroutine ErrAction.             |
 | Message:                                                           |
 | Dependency on C:\Program Files\ANSYS Inc\v172\CFX\bin\winnt-amd64- |
 | \solver-impi.exe which is different from the current solver execu- |
 | table C:\Program Files\ANSYS Inc\v172\CFX\bin\winnt-amd64\solver-- |
 | mpi.exe                                                            |
 |                                                                    |
 |                                                                    |
 +--------------------------------------------------------------------+
 
 +--------------------------------------------------------------------+
 | ERROR #001100279 has occurred in subroutine ErrAction.             |
 | Message:                                                           |
 | One or more user library(s) has been linked  against another solv- |
 | er executable and is incompatible with the current solver. Any su- |
 | ch libaries should be rebuilt from source using cfx5mkext.         |
 |                                                                    |
 |                                                                    |
 |                                                                    |
 +--------------------------------------------------------------------+
hmdl is offline   Reply With Quote

Old   February 6, 2017, 16:41
Default
  #2
Senior Member
 
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33
Opaque will become famous soon enough
Would you mind stating which "start method" did you use ? Platform MPI, or Intel MPI ?
Opaque is offline   Reply With Quote

Old   February 7, 2017, 09:39
Default
  #3
New Member
 
Join Date: Jan 2016
Posts: 12
Rep Power: 10
hmdl is on a distinguished road
Actually neither, I've been trying to get it up on serial so far. Which is weird because it's complaining about solver-impi and solver-mpi
hmdl is offline   Reply With Quote

Old   February 7, 2017, 14:42
Default
  #4
New Member
 
Join Date: Jan 2016
Posts: 12
Rep Power: 10
hmdl is on a distinguished road
I could resolve this issue by copying the cfx5mkext.ccl file into the directory where the .F files are and changing in the ccl file the solver-impi with solver-mpi in the following section:

COMPILER: intel
ATTRS: archfort
cc = cl
fc = ifort
# ld = link
# ext link use ld = true
cxx = cl
ext build cflags = -MD
ext build fflags = -Qvec- -iface:cvf -MD
ext link ldflags = -threads -dll
ext link lib5files = solver-mpi.lib
cppincflag f = -include:
cppflags f = -fpp
fc outopt obj = -object:
fc outopt exec = -exe:
cc outopt obj = -Fo
ext lib suffix = dll
ext lib pattern = %s.dll
END
ATTRS: single
ext build fflags = -real_size:32
END
ATTRS: double
cppflags = -DDOUBLE_PRECISION
ext build fflags = -real_size:64
END
ATTRS: int32
ext build fflags = -integer_size:32
END
ATTRS: int64
ext build fflags = -integer_size:64
END
END
END
hmdl is offline   Reply With Quote

Old   February 7, 2017, 15:26
Default
  #5
Senior Member
 
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33
Opaque will become famous soon enough
Strange.. That is the setting for R17.1, but for R17.2 and the new R18.0 I can see "solver-mpi.exe"

It seems you compiled vs the solver-impi.exe, but I may be mistaken.
Opaque is offline   Reply With Quote

Old   February 9, 2017, 06:31
Default
  #6
New Member
 
Join Date: Jan 2016
Posts: 12
Rep Power: 10
hmdl is on a distinguished road
You're right, I have in 17.2 both solver.mpi.exe and solver-impi.exe. I don't understand why it causes a problem but changing the setting in the cfx5mkext.ccl file according to the complaint of the solver error solved the problem.
hmdl 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
User fortran: Transiet boundary simulation Casper_07 CFX 3 May 10, 2016 21:54
How to set environmental variables of Intel Fortran +CFX? Christine MO CFX 0 September 23, 2011 12:11
how to write user fortran for turbulence model waynezw0618 CFX 2 July 10, 2009 02:55
CFX arc-modeling, User Fortran, CEL.... Bloshchitsyn Vladimir CFX 0 October 15, 2007 07:17
how to use USER FORTRAN with CFX cfd_99 Main CFD Forum 1 June 4, 1999 06:42


All times are GMT -4. The time now is 05:52.