CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   STAR-CCM+ (https://www.cfd-online.com/Forums/star-ccm/)
-   -   Switched from POD to Local license. Scripts for job que (.sh files) don't work (https://www.cfd-online.com/Forums/star-ccm/239264-switched-pod-local-license-scripts-job-que-sh-files-dont-work.html)

-Ik- October 28, 2021 08:34

Switched from POD to Local license. Scripts for job que (.sh files) don't work
 
1 Attachment(s)
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?

LuckyTran October 28, 2021 08:53

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- October 28, 2021 08:56

@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

LuckyTran October 29, 2021 13:26

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.


All times are GMT -4. The time now is 08:38.