Hello,
I’m running LSF and my ondemand server is v3.0.3. I’ve configured the cluster yml file. When I try to submit to my submit host, it tells me it can’t find /etc/lsf.conf. I never told it to look for lsf.conf in /etc or /etc at all. Here is a sample of /etc/ood/config/clusters.d/my_cluster.yml
Error:
Oct 25 17:05:08 2023 23055 3 3.4.0 lsb_init: initenv_:fopen(/etc/lsf.conf) failed, No such file or directory.
lsb_init: Failed in an LSF library call: Unable to open file lsf.conf. Job not submitted.
Hi, yes it seems it should be respecting serverdir.
That said - I can’t tell if the formatting is correct or not. You can use 3 backticks and yaml to provide correct formatting or just upload the file as a text file.
Hi,
So the solution was a config issue with envdir. I had to change it to /misc/lsf/conf where lsf.conf lived. Then when I submitted a job it kept telling me it could not connect to cluster. So I found out that I had to remove the “cluster: “mycluster”” statement because it thought that was the server I was sending it to. Then I added the queue name in my batch job to get it to work.