Author Topic: how to set the number of CPU  (Read 6007 times)

ekirillov

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
how to set the number of CPU
« on: November 05, 2009, 02:01:39 pm »
Hello,

How to set the number of CPUs with TmolX for the calculation on the local machine? By default , it is 2...

Thanks

ekirillov

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
Re: how to set the number of CPU
« Reply #1 on: November 12, 2009, 03:27:24 pm »
Hello,

How to set the number of CPUs with TmolX for the calculation on the local machine? By default , it is 2...

Thanks



Well, I didn't think that the answer could be so much time consuming.

I just want to highlight that it appears, that there is no way (or that specific "green" button) in TmoleX to change/set the number of CPUs for calculation.  The parameter PARNODES=<number of CPU's>, being set in the .bachrc or .profile file, affects only the calculation launched from the X console. TmoleX always uses 2 CPUs for opt/sp...

There is also file tmolexSettings.xml in the folder  ~/COSMOlogic09tm/TmoleX/ that contains the following options to be potentially set up:
 
--><settings>
   <WorkingDirectory></WorkingDirectory>
   <ProjectDirectory></ProjectDirectory>
   <ProjectList></ProjectList>
   <MachineList>
   <Machine>
   <MachineName></MachineName>
   <User></User>
   <Path></Path>
   <Turbodir></Turbodir>
   <No_of_CPU>4</No_of_CPU>
   </Machine>
   </MachineList>

But again, changing the No of CPU affects nothing...


Puzzled... ???
 

uwe

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 405
  • Karma: +0/-0
Re: how to set the number of CPU
« Reply #2 on: November 12, 2009, 04:11:40 pm »
Hi,

TmoleX simply does not support running the parallel version on the local machine (for a couple of reasons). All CPU number settings are for the Run(network) button...

You could, of course, run an external job by submitting it to your own machine (IP address or name of your local system) - this way you will be able to set the number of CPUs correctly.

Regards,

Uwe