Jump to content
Sign in to follow this  
Narendra Singh

How to run HX on multiple processors?

Recommended Posts

  • Environment variables set to activate multiple processors vary from system to system.


  • Following are for Linux (example shows in csh setting it to 2)


    • setenv MKL_NPROCS 2


  • setenv OMP_NUM_THREADS 2



  • For other systems one of the below will work - so setting all is not a bad idea.













  • Please be aware that this may not improve the speed at all, and on some cheap motherboards with fast CPU it may actually run slower.


  • But HX always uses out-of-core solution (as the problems are large) and hence it is I/O intensive. Hence the gains will be less.


  • It is possible to force HX to use in-core solutions. But for the kind of problems, one needs over 20 GB Ram. To force this, you should set MemoryForSolver to -1 in the .hx/.tcl file


    • pset MemoryForSolver -1

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...