Hello,
after having no errors during the installation I now get the error "MPSPyLib" not found, when trying to run
import MPSPyLib
print('test')
I can, however, activate and deactivate the openmps environment just fine.
Furthermore, when running the first example I get the following message:
Execute_MPSMain TMP_01/Ising_Staticsg_0.0Main.nml 0
/bin/sh: 1: Execute_MPSMain: not found
Traceback (most recent call last):
File "01_IsingStatics.py", line 118, in <module>
main(PostProcess=Post, ShowPlots=Plot)
File "01_IsingStatics.py", line 77, in main
mps.runMPS(MainFiles, RunDir=RunDir)
File "/home/simon/anaconda3/envs/openmps/lib/python3.7/site-packages/MPSPyLib/tools.py", line 398, in runMPS
raise MPSFortLibError(ret_val)
MPSPyLib.tools.MPSFortLibError: MPSFortLib quit with fatal return code 127!</module>
Do you require any more information to help me solve this?
Best regards,
Simon
Hello,
Thanks for posting your issue! The fatal return code 127 indicates that the fortran library does not exist in any standard location.
Would you mind sharing your installation procedure with me?
Thanks,
Matthew J
Hi Matthew,
thanks for answering the question. Apart from having installed anaconda on another occasion, I followed the installation guide to the letter. https://sourceforge.net/p/openmps/wiki/OpenMPS%20from%20Source/ I use ubuntu.
Best regards,
Simon
Matrix Product State (MPS) Simulations / Wiki / OpenMPS from Sourcehttps://sourceforge.net/p/openmps/wiki/OpenMPS%20from%20Source/
Acquire the dependencies Additional steps for macOS. If you are installing onto a linux-based operating system, you can skip this section. In recent updates to macOS, Apple has changed the default shell script to zsh.The utility scripts packaged with OpenMPS source do not work under zsh.The simplest solution is to change your default shell to bash by typing this in the macOS Terminal application:
sourceforge.net
Von: Matthew Jones matjones@users.sourceforge.net
Gesendet: Freitag, 23. Oktober 2020 18:50
An: [openmps:tickets] 51@tickets.openmps.p.re.sourceforge.net
Betreff: [openmps:tickets] #51 MPSPyLib not found
Hello,
Thanks for posting your issue! The fatal return code 127 indicates that the fortran library does not exist in any standard location.
Would you mind sharing your installation procedure with me?
Thanks,
Matthew J
[tickets:#51]https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsourceforge.net%2Fp%2Fopenmps%2Ftickets%2F51%2F&data=04%7C01%7Csimon.kothe%40strath.ac.uk%7C79b42c8c16f14caff3d308d87773c00e%7C631e0763153347eba5cd0457bee5944e%7C0%7C0%7C637390686780716817%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=w0jmzDPYzfnBH1IXOd3heKM8ws5nVUD3Ytge0qCy%2FQY%3D&reserved=0 MPSPyLib not found
Status: open
Milestone: 1.0
Created: Mon Oct 19, 2020 01:56 PM UTC by Simon Kothe
Last Updated: Mon Oct 19, 2020 01:56 PM UTC
Owner: nobody
Hello,
after having no errors during the installation I now get the error "MPSPyLib" not found, when trying to run
import MPSPyLib
print('test')
I can, however, activate and deactivate the openmps environment just fine.
Furthermore, when running the first example I get the following message:
Execute_MPSMain TMP_01/Ising_Staticsg_0.0Main.nml 0
/bin/sh: 1: Execute_MPSMain: not found
Traceback (most recent call last):
File "01_IsingStatics.py", line 118, in <module>
main(PostProcess=Post, ShowPlots=Plot)
File "01_IsingStatics.py", line 77, in main
mps.runMPS(MainFiles, RunDir=RunDir)
File "/home/simon/anaconda3/envs/openmps/lib/python3.7/site-packages/MPSPyLib/tools.py", line 398, in runMPS
raise MPSFortLibError(ret_val)
MPSPyLib.tools.MPSFortLibError: MPSFortLib quit with fatal return code 127!</module>
Do you require any more information to help me solve this?
Best regards,
Simon
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/openmps/tickets/51/https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsourceforge.net%2Fp%2Fopenmps%2Ftickets%2F51%2F&data=04%7C01%7Csimon.kothe%40strath.ac.uk%7C79b42c8c16f14caff3d308d87773c00e%7C631e0763153347eba5cd0457bee5944e%7C0%7C0%7C637390686780726807%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=xGAMMuEvwDXW9%2FW01aNsIaJ9CptIrjp2b4ItC56UiEs%3D&reserved=0
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsourceforge.net%2Fauth%2Fsubscriptions%2F&data=04%7C01%7Csimon.kothe%40strath.ac.uk%7C79b42c8c16f14caff3d308d87773c00e%7C631e0763153347eba5cd0457bee5944e%7C0%7C0%7C637390686780726807%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=juCuaCXfYJOTE9H3N%2Bny5m1f9P8L1Wg%2FA7viGjhQ1hQ%3D&reserved=0
Related
Tickets: #51