fbuessen / SpinParser

Pseudofermion functional renormalization group solver for (frustrated) quantum magnets in two and three spatial dimensions.
MIT License
24 stars 6 forks source link

Unable to link Mathematica #2

Closed Sourin-chatterjee closed 2 years ago

Sourin-chatterjee commented 2 years ago

I am unable to link Mathematica with Spinparser, I am facing following error.

Issue Python

fbuessen commented 2 years ago

Hi, it sees that Mathematica cannot correctly locate the spinparser.m file, which contains the function definitions. Please make sure that the file exists in the path opt/mathematica/spinparser.m relative to your installation directory of SpinParser.

Next, you should add the absolute search path of the directory opt/mathematica to Mathematica, e.g. by invoking the command AppendTo[$PATH, "/path/to/your/spinparser/installation/opt/mathematica"]. Note that in the Screenshots which you shared you only added the relative path opt/mathematica.

Sourin-chatterjee commented 2 years ago

Hi,Thanks , it worked.