|
[Sponsors] |
Switched from POD to Local license. Scripts for job que (.sh files) don't work |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
cplatano
Join Date: Oct 2021
Posts: 3
Rep Power: 2 ![]() |
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? |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 4,843
Rep Power: 57 ![]() ![]() ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
cplatano
Join Date: Oct 2021
Posts: 3
Rep Power: 2 ![]() |
@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 |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 4,843
Rep Power: 57 ![]() ![]() ![]() |
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. |
|
![]() |
![]() |
![]() |
Tags |
.sh, bash script, job queue, local license, starccm+ |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
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 15:33 |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 18:56 |
critical error during installation of openfoam | Fabio88 | OpenFOAM Installation | 21 | June 2, 2010 03:01 |
[blockMesh] BlockMeshmergePatchPairs | hjasak | OpenFOAM Meshing & Mesh Conversion | 11 | August 15, 2008 07:36 |
Convergence moving mesh | lr103476 | OpenFOAM Running, Solving & CFD | 30 | November 19, 2007 14:09 |