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