You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to install elphbolt on my university's cluster and here are the steps I took to do so. I am eventually running into errors, so it would be nice if I can get your thoughts on what are the mistakes I am making in the current method.
Downloading the fpm library:
I went to the github page to find the latest release of the fpm binary and I downloaded that release. Following is the link from where I downloaded it. https://github.com/fortran-lang/fpm/releases'
After this, I copied the binary to the shared folder of my cluster where I installed elphbolt.
Then I used the chmod +x to make it an executable and then moved the executable to the /.local/bin folder, which is created when elphbolt is installed (using git clone).
I then added the directory address of the fpm executable to the system $PATH
Then as instructed in the elphbolt github README file, I proceeded to install the Opencoarrays.
Here, there is a section "Installation script" which allows me to download a tar.gz file and then use the steps described to install
opencoarrays.
The compiler wrapper (caf) and the program launcher (cafrun) were not to be found in the address mentioned, but upon clicking through the folders, I was able to find the caf and cafrun files, which I added to the system path as well, before I ran the fpm test command line.
I realize that I installed gcc12.1.0 and installed Opencoarrays with that module.
After adding caf and cafrun directory to the path, I can find them when I say which caf or which cafrun, but when I run caf --show and cafrun --show, I get the following error:
/usr/bin/env: ‘bash’: No such file or directory
Then I used the steps in the "STEP 4 Build elphbolt section", where I run into errors when I run the fpm test test_* command.
Before running fpm test command, I made sure that the directories to fpm, caf, cafrun and gfortran 12.1.0 were added to the path. I used a command that asks fpm to explicitly use the caf compiler using FPM_FC=caf fpm test test_*. Doing this I get the following error.
sh: git: command not found
Fortran runtime error: EXECUTE_COMMAND_LINE: Invalid command line
Error termination. Backtrace:
#0 0x693170 in ??? #1 0x693419 in ??? #2 0x6938c9 in ??? #3 0x6ac5cc in ??? #4 0x6ac859 in ??? #5 0x6ac91f in ??? #6 0x46f198 in __fpm_git_MOD_git_revision
at ././src/fpm/git.f90:263 #7 0x46ac52 in __fpm_dependency_MOD_resolve_dependency
at ././src/fpm/dependency.f90:720 #8 0x45b3e3 in __fpm_dependency_MOD_resolve_dependencies
at ././src/fpm/dependency.f90:677 #9 0x4667c4 in __fpm_dependency_MOD_add_project
at ././src/fpm/dependency.f90:362 #10 0x42d7b0 in __fpm_MOD_build_model
at ././src/fpm.f90:122 #11 0x433da5 in fpm_MOD_cmd_run
at ././src/fpm.f90:614 #12 0x40253b in MAIN
at app/main.f90:80 #13 0x4018ee in main
at app/main.f90:13
At this point, I am not sure what can I do fix the issues. Any help with debugging is appreciated. If I have to delete the Opencoarrays and reinstall it, then I may do that as well.
Thank you so much for your time and consideration.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hello developer(s),
I am trying to install elphbolt on my university's cluster and here are the steps I took to do so. I am eventually running into errors, so it would be nice if I can get your thoughts on what are the mistakes I am making in the current method.
Downloading the fpm library:
https://github.com/fortran-lang/fpm/releases'
Then as instructed in the elphbolt github README file, I proceeded to install the Opencoarrays.
https://github.com/sourceryinstitute/OpenCoarrays/blob/main/INSTALL.md#linux
opencoarrays.
/usr/bin/env: ‘bash’: No such file or directory
Then I used the steps in the "STEP 4 Build elphbolt section", where I run into errors when I run the fpm test test_* command.
Before running fpm test command, I made sure that the directories to fpm, caf, cafrun and gfortran 12.1.0 were added to the path. I used a command that asks fpm to explicitly use the caf compiler using FPM_FC=caf fpm test test_*. Doing this I get the following error.
sh: git: command not found
Fortran runtime error: EXECUTE_COMMAND_LINE: Invalid command line
Error termination. Backtrace:
#0 0x693170 in ???
#1 0x693419 in ???
#2 0x6938c9 in ???
#3 0x6ac5cc in ???
#4 0x6ac859 in ???
#5 0x6ac91f in ???
#6 0x46f198 in __fpm_git_MOD_git_revision
at ././src/fpm/git.f90:263
#7 0x46ac52 in __fpm_dependency_MOD_resolve_dependency
at ././src/fpm/dependency.f90:720
#8 0x45b3e3 in __fpm_dependency_MOD_resolve_dependencies
at ././src/fpm/dependency.f90:677
#9 0x4667c4 in __fpm_dependency_MOD_add_project
at ././src/fpm/dependency.f90:362
#10 0x42d7b0 in __fpm_MOD_build_model
at ././src/fpm.f90:122
#11 0x433da5 in fpm_MOD_cmd_run
at ././src/fpm.f90:614
#12 0x40253b in MAIN
at app/main.f90:80
#13 0x4018ee in main
at app/main.f90:13
At this point, I am not sure what can I do fix the issues. Any help with debugging is appreciated. If I have to delete the Opencoarrays and reinstall it, then I may do that as well.
Thank you so much for your time and consideration.
All reactions