I am struggling with the GPU set up in Cryosparc. I managed to add the three GPUs I have in my cluster so when I run the command Cryosparcw gpulist they are all there (photo below)
Have there been any hardware changes (such as GPU or RAM) upgrades on any of the nodes?
The mention of two different user names in the respective ssh_str fields of the two workers could indicate a misconfiguration. Please review the relevant prerequisites:
Hi,
Yes I am working in a cluster so there is only one computer acting as both master and worker. I Installed cryosparc myself I created an account or user with my user.
The outputs of the commands are the followings:
Under that circumstance, one might use the cryosparcw connect --updateoption.
In this case, the presence of two targets in the get_scheduler_targets() output might indicate a misconfiguration.
To help help me propose a meaningful reconfiguration suggestion, please can you confirm that you are always using the same computer on the cluster to run CryoSPARC and that the hostname does not change?
When I try that command cryosparcw connect --update ´´ it´s asking me for the --worker and --master arguments and I am not sure of them. Are the simply localhost ´´
Yes, I am using the same computer to run CryoSPARC. When I run cryosparcm start I can access with this two links. I do not know how relevant it is so I attach a picture:
Thanks for the help. Yes by running the first command I´ve realize that all processes are running as root, but CryoSPARC installation is under an User that´s not even me.
Should I run the second command from that user account?
Running CryoSPARC processes under the root account is risky and will introduce inconsistent file ownership.
For recovery, you may want to
stop CryoSPARC
fix inconsistent file ownerships (CryoSPARC result, log and database files should typically be owned by the aforementioned non-privileged Linux account)
start CryoSPARC under the aforementioned non-privileged Linux account
After trying to fix the problem of ownership, I managed to remove the localhost from the worker nodes, And now I only have the worker sie (photo below)
Then, when I create the master in port 39000, it uses another port: 390002, and It also sais at the end that hostname is already registered.
When I restart cryosparc, it opens the port 39000, and when I try to run a job I get the following error:
“Unable to clone P14 J204: ServerError: Error: could not create job directory /home/sergio/ScipionUserData/CS_projects/CS-talos-374-rings-c-t/J207 due to [Errno 13] Permission denied: ‘/home/sergio/ScipionUserData/CS_projects/CS-talos-374-rings-c-t/J207’”
Apparently, there are some processes in root and fer, but cryosparc unix user is sergio now:
The project and/or job directory may be owned by a Linux account other than the designated, non-privileged account.
This may be the result of the (unsupported) operation of the CryoSPARC installation under /opt/cryosparc/cryosparc_master/ by more than one Linux account. What are the outputs of the commands
cat /proc/1/cmdline
uname -a
ls -ld /home/sergio/ScipionUserData/CS_projects/CS-talos-374-rings-c-t/
ls -ld /home/sergio/ScipionUserData/CS_projects/CS-talos-374-rings-c-t/J207
?
It appears that both sergio and fer are running commands using the same CryoSPARC installation under /opt/cryosparc/cryosparc_master/. This mode of operation is not supported.
May I suggest that all users of this computers agree on a single, designated, non-privileged Linux account that
runs all /opt/cryosparc/cryosparc_master/ and /opt/cryosparc/cryosparc_worker/ commands