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

distribute.bash command not found #560

Open
PGC-Geodesy opened this issue Dec 19, 2024 · 1 comment
Open

distribute.bash command not found #560

PGC-Geodesy opened this issue Dec 19, 2024 · 1 comment

Comments

@PGC-Geodesy
Copy link

PGC-Geodesy commented Dec 19, 2024

Happy holidays!

We have installed the minsar version and are currently testing it on our local workstations where slurm is installed. The installation process went relatively smoothly following the tutorial, up until the job submission stage.

The create_runfiles.py script successfully creates all the run files. However, in the run files (e.g., run_01_unpack_topo_reference_0.job), there are issues when calling install_code_on_tmp.bash and copy_data_to_tmp.bash to copy data/code to /tmp. During this step, the following error messages are returned:

/home/yjiang/stampede3/code/rsmas_insar/minsar/utils/install_code_on_tmp.bash: line 39: distribute.bash: command not found
/home/yjiang/stampede3/code/rsmas_insar/minsar/utils/install_code_on_tmp.bash: line 40: distribute.bash: command not found
tar: /tmp/code_miniconda3.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: /tmp/code_minsar.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

Additionally, the script attempts to load the following modules:

TACC
intel/19.1.1

These modules are installed on the HPC but are unavailable on my local workstation.

Could you provide insights into the following:
Are the TACC and intel/19.1.1 modules required for minsar to run?
How can the distribute.bash and missing .tar file errors be resolved? Are there additional setup steps required for a local environment?

Best,
Yan

@falkamelung
Copy link
Member

All this is not needed. It was put in for some specifics with Stampede2. Please try to run with --no-tmp option. Also, you can hardwired it in in minsarApp.bash by modifying this line:

if [[ $HOSTNAME == *"stampede3"* ]] && [[ $copy_to_tmp == "--tmp" ]]; then

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

2 participants