prisms-center / CASMcode

First-principles statistical mechanical software for the study of multi-component crystalline solids
Other
105 stars 69 forks source link

Casm error: usr/bin/grep: libcasm: No such file or directory #323

Open pandeydhanshree opened 10 months ago

pandeydhanshree commented 10 months ago

Hello I was trying to run casm-learn -s fit_1_ga.json but I am getting "Loading fit_1_ga.json

Hall of Fame size: 25

Get problem data...

wHullDist: Will calculate hull distance: hull_dist(CALCULATED,atom_frac)

Query requested: ['formation_energy', 'is_calculated', 'corr', 'hull_dist(CALCULATED,atom_frac)']

Use existing: []

Querying: ['formation_energy', 'is_calculated', 'corr', 'hull_dist(CALCULATED,atom_frac)']


find_executable('ccasm'): /marconi/home/userexternal/dpandey0/.local/conda/envs/casm/bin/ccasm
Found 'ccasm', but for unknown reason could not determine libcasm location.
ldd:
"
I checked the library path and ensured that the directory containing libcasm and libccasm is included in my system's library path ( "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/marconi/home/userexternal/dpandey0/.local/conda/envs/casm/lib"). Still I am getting the same error. 
Looking forward for any suggestion. Thanks
Dhanshree
xivh commented 10 months ago

Can you try pip install sh==1.14.2? Maybe it is related to https://github.com/prisms-center/CASMpython/pull/3?

pandeydhanshree commented 10 months ago

Thanks a lot!! It worked. Best regards Dhanshree

darjaved commented 9 months ago

Thanks a lot. i was facing the same problem and it got resolved? what is this issue actually related to?

xivh commented 9 months ago

The package was just written with a older version of sh and something changed.