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

Running new STILT script #87

Open
ckbekker72 opened this issue Aug 26, 2022 · 3 comments
Open

Running new STILT script #87

ckbekker72 opened this issue Aug 26, 2022 · 3 comments

Comments

@ckbekker72
Copy link

I am trying to run my own R script with STILT that I have created by modifying the tutorial R scripts. However, when I attempt the R script, I get the following error:
[ckbekker@login1 STILT_runs]$ Rscript run_stilt_mariposa_jul28.R Initializing STILT Number of receptors: 24 Number of parallel threads: 8 Error in load_libs("dplyr", "ncdf4", "parallel", "raster", "rslurm", lib.loc = lib.loc) : could not find function "load_libs" Calls: source -> withVisible -> eval -> eval Execution halted
Do you know what this error might be related to or how I can figure out?
Thank you.

run_stilt_mariposa_jul28.txt

@ckbekker72
Copy link
Author

Hi,
I have fixed the previous issue that I described but I am still having trouble getting the output files that I need with the same script.

I get the following message when running this script: "fatal: Not a git repository (or any parent up to mount point /u/home/c)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set)."

The script still appears to run all of the simulation IDs as requested but then the following warning message is reported: "Warning message:
In system("git rev-parse HEAD", intern = T) :running command 'git rev-parse HEAD' had status 128"

When I looked for the output files in the footprints folder that I specified, they are not there. Do you know what might be causing this issue and how I can attempt to solve it?

@tartanrunner25
Copy link
Collaborator

Are the trajectory files there? Would help isolate whether the STILT code runs or not and if the issue is strictly related to the generation of the footprints.

@Liuc03
Copy link

Liuc03 commented Jan 3, 2024

Hi,
I got the same error: "could not find function "load_libs" Calls: source -> withVisible -> eval -> eval Execution halted", May I ask how you fixed it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants