When you get the error message "No valid application license could be found" from the jobs you previously submitted to the grid through CLC Genomics Server, please check the following:
 

1. Grid worker network license connection settings as described in the manual 

http://resources.qiagenbioinformatics.com/manuals/clcgenomicsserver/current/admin/index.php?manual=Licensing_grid_workers.html
 

2. Check and ensure that the grid nodes have network access to the CLC Network License Manager/CLC License Server that hosts the grid worker network license.

3. For the grid scheduler to keep track on the grid worker license usage and queue, the newly submitted jobs from the Genomics Server become available before the next grid worker license is check out for job execution. The license needs to be configure as consumable resources on the grid scheduler and the maximum number of the license resource needs to be adjusted to the number of available licenses for the job queue.
 

As an example with the Open Grid Scheduler, the screenshot below shows the consumable resource configuration. Based on this configuration, and the proper native specification in the grid preset, when more than two jobs are submitted to the scheduler, only the first two will run immediately (and check out the available grid worker license). The rest of the newly submitted jobs will be put on hold as defined by the license resource, by the scheduler, waiting for the next available license to become available.
 

Without the consumable resource configuration on the scheduler side, all jobs will be dispatched to the cluster as long as there is resource (e.g. grid nodes in the cluster or licenses) available. Without enough grid worker licenses to support the number of jobs running in parallel, some will immediately fail with the "No valid application license could be found"  error message.

 

 

Different grid schedulers have different methods of adjusting the resources. The native specification parameter for the grid preset within QIAGEN CLC Genomics Server within the example above will include the following line to ensure that each job consumes one grid worker license slot:

-l cfl=1

 

More information on consumable resources can be found on the server manual at

http://resources.qiagenbioinformatics.com/manuals/clcgenomicsserver/current/admin/index.php?manual=Configuring_licenses_as_consumable_resource.html

 

We are not able to support this configuration on each and every different grid scheduler. However the license resource configuration is common on all commercialized software running jobs on the grid and you will likely to find the relevant information on the grid scheduler manual.