Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temp folder location #278

Closed
quark-spec opened this issue Sep 27, 2021 · 12 comments
Closed

Temp folder location #278

quark-spec opened this issue Sep 27, 2021 · 12 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@quark-spec
Copy link

Dear developers,

I was running command-line philosopher pipeline and at some point was told a directory under /tmp could not be found. I was thinking if there is a way to set another directory as the temp folder. This doesn't happen every time and so far only occurs when the analysis takes quite a long time, which in this case is expected (I think) as it is a proteogenomics analysis and the database size is large.

Thank you.

@quark-spec
Copy link
Author

I found there is a --temp parameter in the workspace command, but philosopher is still using /tmp as the temp folder after I gave it an alternative location.
螢幕擷取畫面 2021-09-27 171117

@prvst prvst self-assigned this Sep 27, 2021
@prvst prvst added the help wanted Extra attention is needed label Sep 27, 2021
@prvst
Copy link
Collaborator

prvst commented Sep 27, 2021

Please see #261

@prvst prvst closed this as completed Sep 27, 2021
@prvst
Copy link
Collaborator

prvst commented Sep 27, 2021

Try removing the workspace manually, and set it again

@quark-spec
Copy link
Author

Unfortunately didn't work. Philosopher is still using /tmp.

My command looks like this

/home/oscar/tools/philosopher-3.4.13/philosopher workspace --temp /home/oscar/Data/SY201217-DMS-5564/results/tmp
/home/oscar/tools/philosopher-3.4.13/philosopher workspace --init
/home/oscar/tools/philosopher-3.4.13/philosopher pipeline --config /home/oscar/Data/SY201217-DMS-5564/params/philosopher.yml BatchB

Is the command correct? Thank you.

@quark-spec
Copy link
Author

I also tried this command

/home/oscar/tools/philosopher-3.4.13/philosopher workspace --init --temp /home/oscar/Data/SY201217-DMS-5564/results/tmp
/home/oscar/tools/philosopher-3.4.13/philosopher pipeline --config /home/oscar/Data/SY201217-DMS-5564/params/philosopher.yml BatchB

Same result - Philsoopher still using /tmp.

@quark-spec
Copy link
Author

Removing the .meta folder and set again did not help

@prvst prvst reopened this Sep 30, 2021
@prvst
Copy link
Collaborator

prvst commented Sep 30, 2021

@quark-spec I'm going to investigate this for you

@prvst
Copy link
Collaborator

prvst commented Sep 30, 2021

I just noticed that you're not using the latest version. Can you update the program and try again?

@quark-spec
Copy link
Author

I would like to use the latest version as well, but this is part of a project that has been using v3.4.13 and we prefer not to change the software version for consistency's sake. Is it possible to fix it without updating Philosopher? Thank you.

@prvst
Copy link
Collaborator

prvst commented Oct 1, 2021

Unfortunately, no. We can't amend or improve a previous version.

@quark-spec
Copy link
Author

I am able to set the temp folder with philosopher 4.0.0. I am also wondering if there is an option to set the temp in FragPipe. Thank you.

@prvst
Copy link
Collaborator

prvst commented Oct 7, 2021

Yes, you have to run it like this:

$ export JAVA_OPTS=-Djava.io.tmpdir=<your_preferred_tempdir>
$ <path_to_fragpipe>/fragpipe

@prvst prvst closed this as completed Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants