|
[Sponsors] |
February 4, 2017, 16:00 |
CFX 17.2 User Fortran
|
#1 |
New Member
Join Date: Jan 2016
Posts: 12
Rep Power: 10 |
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. | | | | | | | +--------------------------------------------------------------------+ |
|
February 6, 2017, 16:41 |
|
#2 |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
Would you mind stating which "start method" did you use ? Platform MPI, or Intel MPI ?
|
|
February 7, 2017, 09:39 |
|
#3 |
New Member
Join Date: Jan 2016
Posts: 12
Rep Power: 10 |
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
|
|
February 7, 2017, 14:42 |
|
#4 |
New Member
Join Date: Jan 2016
Posts: 12
Rep Power: 10 |
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 |
|
February 7, 2017, 15:26 |
|
#5 |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
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. |
|
February 9, 2017, 06:31 |
|
#6 |
New Member
Join Date: Jan 2016
Posts: 12
Rep Power: 10 |
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.
|
|
|
|
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 |