CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   CFX (https://www.cfd-online.com/Forums/cfx/)
-   -   CFX-5.7.1 MPICH distr. parall. + user routines (https://www.cfd-online.com/Forums/cfx/21086-cfx-5-7-1-mpich-distr-parall-user-routines.html)

Claudia March 17, 2005 04:41

CFX-5.7.1 MPICH distr. parall. + user routines
 
Hi, I'm trying to start a run in mpich distributed parallel (windows) which includes a user subroutine and a junction box routine for particel injection. Everytime an error occures an look like this:

An error has occurred in subroutine ErrAction Unable to find library winnt/hollow_cone_distribution_HK.dll on path "c:/programme/Ansys Inc/CFX/shared/"

If i start the CFX-run in PVM-distributet parallel mode everything is right. But when i add a second computer with two more partitions the error occurs.

Thanks

Claudia

Jeff March 18, 2005 10:22

Re: CFX-5.7.1 MPICH distr. parall. + user routines
 
Claudia,

It looks like some of the partitions can't find your user routine (assuming your routine is the hollow_cone_distribution_HK.dll in the message). Each partition (CPU/machine) has to be able to see the file. If you're storing it on C: drive of the master machine, then the other machines can't find it. You have two choices:

1. Copy the dll to the "exact" same location on every machine, or 2. Put the files on a network drive to which all machines have access through the same drive letter (i.e. T:/CFX/FORTRAN)

This should sort it out.

Jeff

Claudia March 18, 2005 11:39

Re: CFX-5.7.1 MPICH distr. parall. + user routines
 
Hi,

that's right. Thank you. I detected that i had to change something in the cfx5mkext.cll so that the user.dll could work with mpi. With all changes together it works.

Claudia


All times are GMT -4. The time now is 01:12.