Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

"comsol batch" crashed with Java errors

Please login with a confirmed email address before reporting spam

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

4 Replies Last Post 22 feb 2013, 07:45 GMT-5

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 14 set 2010, 09:45 GMT-4
I'm having the same issue. Did you get it worked out?
I'm having the same issue. Did you get it worked out?

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 14 set 2010, 18:07 GMT-4
No - not yet. I am sure I will be able to find out how good COMSOL Technical Support is very soon.
No - not yet. I am sure I will be able to find out how good COMSOL Technical Support is very soon.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 28 mar 2011, 04:50 GMT-4
Any news? We are having the same difficulties here ...
Any news? We are having the same difficulties here ...

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 22 feb 2013, 07:45 GMT-5
Hi
I have the same problem, can anyone tell me if he has found an issue.

looking forward for your response

Mehrez
Hi I have the same problem, can anyone tell me if he has found an issue. looking forward for your response Mehrez

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.