LLNL / MACSio

A Multi-purpose, Application-Centric, Scalable I/O Proxy Application
https://computing.llnl.gov/projects/co-design/macsio
Other
34 stars 16 forks source link

Building Error. /bin/sh: line 0: cd: ../json-cwx: No such file or directory #10

Open zinechant opened 6 years ago

zinechant commented 6 years ago

Hi, I followed the steps in the file 'INSTALL' to try building the proxy app. But I got the following error. It seems there is no 'json-cwx' directory anywhere in the repository.

zinechant@MiBookChant:~/ECP/MACSio/MACSio/macsio$ make all
cd ../json-cwx; \
mkdir build install; \
cd json-cwx; \
./autogen.sh; \
cd ..; \
cd build; \
../json-cwx/configure CC="mpicc" --prefix=`pwd`/../install
/bin/sh: line 0: cd: ../json-cwx: No such file or directory
mkdir: cannot create directory ‘build’: File exists
mkdir: cannot create directory ‘install’: File exists
/bin/sh: line 2: cd: json-cwx: No such file or directory
/bin/sh: line 3: ./autogen.sh: No such file or directory
/bin/sh: line 5: cd: build: No such file or directory
/bin/sh: line 6: ../json-cwx/configure: No such file or directory
Makefile:128: recipe for target '../json-cwx/build' failed
make: *** [../json-cwx/build] Error 127

Thanks in advance.

jadickson commented 6 years ago

Apologies, the INSTALLING file was out of date as we have now transitioned to a CMake build system. The instructions have now been updated to reflect the new build process. Importantly, the json-cwx library has been moved to its own repository here. Good luck using MACSio!

zinechant commented 6 years ago

Thanks a lot for the reply. I am not familiar with the cmake build system. But it seems that it would set the rpath to be empty. I think it would be better if cmake could include the directory containing the shared library of HDF5 and libjson-cwx in the rpath.

Install the project...
-- Install configuration: ""
-- Installing: /home/zinechant/ECP/MACSio/MACSio/MACSio/macsio
-- Set runtime path of "/home/zinechant/ECP/MACSio/MACSio/MACSio/macsio" to ""