Discussion Forum

"comsol batch" crashed with Java errors

Topics: 4.0a, Installation

Thread index  |  Previous thread  |  Next thread  |  Start a new discussion

RSS FeedRSS feed   |   Email notificationsTurn on email notifications   |   3 Replies   Last post: March 28, 2011 8:50am UTC
Tim Ho

Tim Ho

August 26, 2010 5:04am UTC

"comsol batch" crashed with Java errors

Hi,

I am trying to run a CFD model using the batch mode but crashed with some Java errors. The same model runs fine using the GUI (comsol client) and a Comsol Server.

OS: SLES 11
COMSOL version: 4.0a

The command I used:

comsol batch -inputfile in.mph -outputfile out.mph

The result:

...
Running: Transient run (turn on weak contributions)
Time-dependent solver (BDF)
Number of degrees of freedom solved for: 24144.
Current Progress: 0 %
Memory: 561/561 2072/2077
Nonsymmetric matrix found.
Step Time Stepsize Res Jac Sol Order Tfail NLfail
0 0 out 5 3 5 0
Exception:
com.comsol.util.exceptions.FlException: The following feature has encountered a problem
Messages:
The following feature has encountered a problem
- Feature: Time-Dependent Solver 1 (sol6/t1)
- Error: Could not find the service 'com.comsol.nativeutil.h'

Stack trace:
at com.comsol.solver.SolverOperation.addError(Unknown Source)
at com.comsol.solver.SolverOperation.execute(Unknown Source)
at com.comsol.model.impl.SolverSequenceImpl.b(Unknown Source)
at com.comsol.model.impl.SolverSequenceImpl.f(Unknown Source)
at com.comsol.model.impl.SolverSequenceImpl$c.a(Unknown Source)
at com.comsol.model.impl.SolverSequenceImpl$c.execute(Unknown Source)
at com.comsol.model.clientserver.ClientManagerImpl$d.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Total time: 27.035 s.

Anyone knows what the "Could not find the service 'com.comsol.nativeutil.h'" error refers to and how to fix it?

Tim

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

John Larson

John Larson

September 14, 2010 1:45pm UTC in response to Tim Ho

Re: "comsol batch" crashed with Java errors

I'm having the same issue. Did you get it worked out?

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Tim Ho

Tim Ho

September 14, 2010 10:07pm UTC in response to John Larson

Re: "comsol batch" crashed with Java errors

No - not yet. I am sure I will be able to find out how good COMSOL Technical Support is very soon.

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse

Philipp Germann

Philipp Germann

March 28, 2011 8:50am UTC in response to Tim Ho

Re: "comsol batch" crashed with Java errors

Any news? We are having the same difficulties here ...

Reply  |  Reply with Quote  |  Send private message  |  Report Abuse


Rules and guidelines