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
Posted Aug 26, 2010, 1:04 a.m. EDT Installation & License Management Version 4.0a, Version 4.2a, Version 4.3, Version 4.3a 4 Replies
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
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 Feb 22, 2013, 7:45 a.m. EST