나의일 관련/Linux

cdo-1.5.6.1 설치 기록

천연사이다 2017. 10. 27. 10:10

CDO download site : https://code.zmaw.de/projects/cdo


cdo-1.5.6.1 설치 Bug 관련

### 오류 내용  ###

pipe.c(174): error: incomplete type is not allowed

    struct timespec time_to_wait;


time_to_wait 오류는 CDO 1.5.4 이후에 발생


해결 방법 : src 폴더에 pipe.c 선언 수정

- 변경 전 : #include <time.h> 

- 변경 후 : #include <sys/time.h> 


# Tachyon 2차 설치 방법( intel 11.1 compiler, openmpi 1.4.2 MPI 사용의 경우)

$ ./configure --prefix={설치 경로} --with-netcdf=/applic/compilers/intel/11.1/applib1/NETCDF4 \

   --with-hdf5=/applic/compilers/intel/11.1/applib1/HDF5

$ make

$ make install