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

subroutine

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ghorrocks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 26, 2020, 15:28
Default Intergration Fortran file with CFX
  #1
New Member
 
Sam
Join Date: Nov 2019
Posts: 7
Rep Power: 7
ska999 is on a distinguished road
USER ROUTINE
Hello everyone:

After compiling the FORTRAN routines I get the following errors on run:
Any help in understanding the errors is appreciated.

| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| Unable to find library winnt-amd64/double/sam.dll on path "C:/- |
| Users/ska99/Documents/F/winnt-amd64" |
| |
| |
| |
| |
+--------------------------------------------------------------------+

+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| USER ROUTINE: User Routine 1 could not be loaded. Please check th- |
| e Library Path, Library Name and Calling Name. For FORTRAN user r- |
| outines, the Calling Name should be in lower case. |
| |
| |
| |
+--------------------------------------------------------------------+

Last edited by ska999; June 27, 2020 at 23:12.
ska999 is offline   Reply With Quote

Old   June 27, 2020, 08:17
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
We do not provide support. We only answer questions and have discussions. If you want support contact ANSYS support. Nobody is getting paid here, so we answer questions only if we feel like it.

The error message says what the problem is: "USER ROUTINE: User Routine 1 could not be loaded. Please check the Library Path, Library Name and Calling Name. For FORTRAN user routines, the Calling Name should be in lower case."

I can see upper case letters in the path of your fortran file. Also, have a look at the CFX fortran tutorials and check you can run those before you write your own fortran.
Opaque likes this.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   November 12, 2023, 01:50
Default
  #3
New Member
 
Diego Peņa
Join Date: Oct 2023
Posts: 7
Rep Power: 3
diegopena is on a distinguished road
I am facing the same problem. What's the solution?

EDIT: all subroutines are in lower case.

+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| Error opening C:...*.dll: N�o f- |
| oi poss�vel encontrar o procedimento especificado.
|

This DLL is created by multiples files.
I had recently run CFX HVAC Tutorial with the provided DLL and i had no problems.
diegopena is offline   Reply With Quote

Old   November 12, 2023, 04:07
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,872
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The error message is clear - the procedure cannot be found. This could be caused by many things, so you would have to provide more details for us to help.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   November 14, 2023, 23:33
Default
  #5
New Member
 
Diego Peņa
Join Date: Oct 2023
Posts: 7
Rep Power: 3
diegopena is on a distinguished road
While conducting tests based on the HVAC Tutorial, I observed that I encounter an error if I specify a name for the library during the creation of the DLL using `cfx5mkext`, like this:

cfx5mkext -name teste *.f

Even after renaming the Library Name in the .cfx file, the issue persists.


+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| Unable to find library winnt-amd64/teste.dll on path "C:/BCP/HVAC- |
| Tuto2"
+--------------------------------------------------------------------+
| ERROR #001100279 has occurred in subroutine ErrAction. |
| Message: |
| USER ROUTINE: Thermostat Routine could not be loaded. Please chec- |
| k the Library Path, Library Name and Calling Name. For FORTRAN us- |
| er routines, the Calling Name should be in lower case. |

EDIT 1: When I do not specify a name for the library using cfx5mkext, it automatically takes the name from the .f file. In this case, the process works well in CFX.
diegopena 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
Calculation Error in USER subroutine Asif17 CFX 3 June 29, 2016 04:45
Error in subroutine CONVERT_NAME_U2S_INT JDQFD CFX 2 January 21, 2014 10:19
Fortran Subroutine Error sergiorbrett CFX 12 September 3, 2012 08:40
Errorin subroutine appeared when applying cavitation model pitisrisuk CFX 1 July 2, 2012 04:36
FIDAP subroutine: USRBDY Shuwen Tzeng FLUENT 0 September 3, 2004 04:40


All times are GMT -4. The time now is 23:13.