Notice: Undefined index: CraftSessionId in /var/www/html/web/forums/qa-external/qa-external-users.php on line 193
AEM3D runs through command window but not through HydroHub? - Hydronumerics Q&A
0 votes
in HydroHub by tayl1562@umn.edu (140 points)

Hey y'all,

I'm new to the HydroHub interface. I can get AEM3D to run through the command window, but not HydroHub. I'm pretty sure I have the correct version of HydroHub and Java (following the discussion in this thread). When I try to run the preprocessor, I get an error that says: 

INFO: class hn.hydrohub.tasks.TaskException
ERROR: CAUGHT EXCEPTION

When I go to change the workspace, it says I should pick the directory with HydroHubDBConnections.xml and HydroHubPasswordRepository.xml, but I don't have these files. I get the following message when I try to change the workspace:

ERROR: CAUGHT EXCEPTION
ERROR: UNCAUGHT EXCEPTION 
ERROR: UNCAUGHT EXCEPTION null
ERROR: UNCAUGHT EXCEPTION File  : ChangeWorkSpace.java
ERROR: UNCAUGHT EXCEPTION Class : hn.hydrohub.gui.operations.file.ChangeWorkSpace
ERROR: UNCAUGHT EXCEPTION Method: actionPerformed
ERROR: UNCAUGHT EXCEPTION Line  : 105

Any ideas?

3 Answers

0 votes
by dallimor@hydronumerics.com.au (11.6k points)
Hi,  the change workspace function is really only for the full decision support system version of HydroHub.

Have you set the HN Executables directory in preferences to the directory containing aem3d.exe / aem3d_openmp.exe?  

At what point do you get the

INFO: class hn.hydrohub.tasks.TaskException
ERROR: CAUGHT EXCEPTION

Thanks

Chris
by tayl1562@umn.edu (140 points)
Hey Chris, thanks for the response.

The HN Executables directory in preferences contains aem3d.exe and aem3d_openmp.exe.

When I try to run pre_aem3d from HydroHub, I get a dialog box that says "Error running executable ...pre_aem3d.exe. Consulte log for more information. Method: executeTask." That's the point I get the error message above in the log.

Thanks,
Jackie
by dallimor@hydronumerics.com.au (11.6k points)
Can you sen me the log file, should be in a directory called logs in your workspace.
by tayl1562@umn.edu (140 points)
Sure thing. Here's the log from today:

2018-10-02 07:23:42,089  INFO:
    Version: 1.0.0
    Build Number: 337
    Built: 20180926 1158
    Built By: hnadmin
    OS: Mac OS X (x86_64)
2018-10-02 07:24:25,703  INFO: class hn.hydrohub.tasks.TaskException
2018-10-02 07:24:25,703 ERROR: CAUGHT EXCEPTION
hn.hydrohub.tasks.TaskException: Error running executable C:\Users\tayl1562\pre_aem3d.exe.  Consult log for more information
    at hn.hydrohub.tasks.models.aem3d.runpre.PREAEM3DRunTask.runPRE(PREAEM3DRunTask.java:124)
    at hn.hydrohub.tasks.models.aem3d.runpre.PREAEM3DRunTask.executeTask(PREAEM3DRunTask.java:74)
    at hn.hydrohub.gui.operations.aem3d.RunPre$TaskRunnerThread.run(RunPre.java:57)
2018-10-02 07:29:03,647  INFO: class hn.hydrohub.tasks.TaskException
2018-10-02 07:29:03,647 ERROR: CAUGHT EXCEPTION
hn.hydrohub.tasks.TaskException: Error running executable C:\Users\tayl1562\pre_aem3d.exe.  Consult log for more information
    at hn.hydrohub.tasks.models.aem3d.runpre.PREAEM3DRunTask.runPRE(PREAEM3DRunTask.java:124)
    at hn.hydrohub.tasks.models.aem3d.runpre.PREAEM3DRunTask.executeTask(PREAEM3DRunTask.java:74)
    at hn.hydrohub.gui.operations.aem3d.RunPre$TaskRunnerThread.run(RunPre.java:57)
2018-10-02 07:29:41,598  INFO: class hn.hydrohub.tasks.TaskException
2018-10-02 07:29:41,598 ERROR: CAUGHT EXCEPTION
hn.hydrohub.tasks.TaskException: Error running executable C:\Users\tayl1562\pre_aem3d.exe.  Consult log for more information
    at hn.hydrohub.tasks.models.aem3d.runpre.PREAEM3DRunTask.runPRE(PREAEM3DRunTask.java:124)
    at hn.hydrohub.tasks.models.aem3d.runpre.PREAEM3DRunTask.executeTask(PREAEM3DRunTask.java:74)
    at hn.hydrohub.gui.operations.aem3d.RunPre$TaskRunnerThread.run(RunPre.java:57)
2018-10-02 19:43:27,761  INFO:
    Version: 1.0.0
    Build Number: 337
    Built: 20180926 1158
    Built By: hnadmin
    OS: Mac OS X (x86_64)
by dallimor@hydronumerics.com.au (11.6k points)
I'm not sure why the exe won't run through Java it may be a permissions issue.

Is the path C:\Users\tayl1562\pre_aem3d.exe correct?
Can you run this exe in the cmd line?
0 votes
by boegmanl@queensu.ca (400 points)
Try these instructions from Shuqi Lin:

I have successfully run AEM3D via command line and HydroHubLite. The new version of AEM3D needs a number of DLL files which contains the Fortran runtime routines.
To run the model, we need to move ‘libifcoremd.dll’, ‘libifcoremdd.dll’,  ‘libmmd.dll’, ‘libmmdd.dll’ into ‘pre’ folder; and move ‘libifcoremd.dll’, ‘libifcoremdd.dll’,  ‘libifportmd.dll’, ‘libmmd.dll’, ‘libmmdd.dll’, ’svml_dispmd.dll’ into ‘run’ folder.
0 votes
by dallimor@hydronumerics.com.au (11.6k points)
Can you try the latest HydroHub download now up on our website.  I think I may have fixed the issue.
Welcome to Hydronumerics Q&A, where you can ask questions and receive answers about the software we develop and distribute

Categories

Hydronumerics

...