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.

Problem while running Comsol Batch

Please login with a confirmed email address before reporting spam

Hi,

I am facing a problem while running comsol batch on linux 64 bit machine.
I am getting "Comsol Batch failed!" error as mentioned below.

Please share your expertise.

Thanks in advance.
Rakesh
====================================================
rakesh@matrix:~/May2010> comsol batch -input eee.mph
COMSOL Batch (64-bit)
------------------------------------------------------------
Version: COMSOL 3.5a (COMSOL 3.5.0.608)

Patent pending.
Copyright (c) 1998-2008 by COMSOL AB.
All rights reserved.
------------------------------------------------------------

Starting batch job.
------------------------------------------------------------
COMSOL Batch failed!
Error: null
Stack trace:
java.lang.NullPointerException
at com.femlab.api.client.SolverPlotCallback.addProps(Unknown Source)
at com.femlab.api.client.Solver.initProps(Unknown Source)
at com.femlab.api.client.Solver.solve(Unknown Source)
at com.femlab.api.client.Solver.solve(Unknown Source)
at com.femlab.server.BatchRunner.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.femlab.server.Launcher.main(Unknown Source)

1 Reply Last Post Jan 6, 2011, 2:51 a.m. EST
COMSOL Moderator

Hello Rakesh Dhote

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.


Please login with a confirmed email address before reporting spam

Posted: 1 decade ago Jan 6, 2011, 2:51 a.m. EST
I think you need '-output' option. comsol batch -input a.mph -output b.mph, like this.
I think you need '-output' option. comsol batch -input a.mph -output b.mph, like this.

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.