CASMcode icon indicating copy to clipboard operation
CASMcode copied to clipboard

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

Open pandeydhanshree opened this issue 1 year ago • 4 comments

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

pandeydhanshree avatar Nov 01 '23 15:11 pandeydhanshree

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

xivh avatar Nov 01 '23 16:11 xivh

Thanks a lot!! It worked. Best regards Dhanshree

pandeydhanshree avatar Nov 01 '23 16:11 pandeydhanshree

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

darjaved avatar Nov 10 '23 10:11 darjaved

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

xivh avatar Nov 11 '23 21:11 xivh