CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Switched from POD to Local license. Scripts for job que (.sh files) don't work

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By LuckyTran

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 28, 2021, 09:34
Default Switched from POD to Local license. Scripts for job que (.sh files) don't work
  #1
New Member
 
cplatano
Join Date: Oct 2021
Posts: 3
Rep Power: 5
-Ik- is on a distinguished road
Switched from POD to Local license. The scripts for adding a job in the cluster queue (.sh files) don't work anymore.

Until now, I used the following submit.sh file:

<\
#!/bin/sh
#PBS -N FSTD
#PBS -S /bin/sh
#PBS -j oe
#
/#directory/everybody/14.04.013/STAR-CCM+14.04.013/star/bin/starccm+ -power -podkey # -licpath #@flex.cd-adapco.com -batchsystem pbs -rsh rsh -mpi intel -np $PBS_NP >

I tried replacing it with the following:

<#directory/14.04.013/STAR-CCM+14.04.013/star/bin/starccm+ -server -rsh rsh -np $PBS_NP -batch Tutorial/Macros/meshandrun.java Tutorial/Simulations/tutorial.sim>

I used X11 to see the Command line in STAR and that's how I tried to replace the code (as seen in the attached picture)

Unfortunately, it doesn't work. Does anybody know how it should be replaced?
Attached Images
File Type: png X11_Command_Line.png (29.0 KB, 9 views)
-Ik- is offline   Reply With Quote

Old   October 28, 2021, 09:53
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
If all you want to do is switch from POD licensing to a license hosted (where is it being hosted) then you just change -licpath from 1999@flex.cd-adapco.com to the location of your license server.


Btw, posting your pod key onto the internet means everyone here can burn all your hours.
-Ik- likes this.
LuckyTran is offline   Reply With Quote

Old   October 28, 2021, 09:56
Default
  #3
New Member
 
cplatano
Join Date: Oct 2021
Posts: 3
Rep Power: 5
-Ik- is on a distinguished road
@LuckyTran Too bad it is expired, I guess. Thank you tho!

It didn't work changing from 1999@flex.cd-adapco.com to the directory of my local license
-Ik- is offline   Reply With Quote

Old   October 29, 2021, 14:26
Default
  #4
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Not a directory... The network location. The ip address, etc.


You need to give 1999@address


The 1999 is the port the server is running on. That port number might be different for you if your network admin is running the server on a different port.


If the license is on your machine and you are trying to run this on a grid then I hope you have the license server installed and running correctly.
LuckyTran is offline   Reply With Quote

Reply

Tags
.sh, bash script, job queue, local license, starccm+


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 16:33
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 19:56
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 04:01
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 08:36
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09


All times are GMT -4. The time now is 12:18.