Skip to content
Snippets Groups Projects
Commit 1a8bc37c authored by Alessandro Vullo's avatar Alessandro Vullo
Browse files

Merge pull request #26 from james-monkeyshines/master

Making the load of a profile.lsf file optional
parents 23ce475d fcbff8af
No related branches found
No related tags found
No related merge requests found
......@@ -132,7 +132,10 @@ sub resubmit_exonerate {
my $exe_file = $root_dir."/resub_".$job_id."_".$array_number;
open(my $rh, ">", $exe_file) || die "Could not open file $exe_file";
print $rh ". /usr/local/lsf/conf/profile.lsf\n";
my $lsf_profile = '/usr/local/lsf/conf/profile.lsf';
if (-e $lsf_profile) {
print $rh ". $lsf_profile\n";
}
print $rh $command."\n";
close $rh;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment