when I arch option, error "sh: cicc: command not found" takes place.

Your installation of CUDA appears incomplete or your environment (e.g. PATH env var) may not be set up correctly. CUDA uses two different compiler “front ends”: Open64 is used for sm_1x architectures, and NVVM (based on LLVM) is used for architectures sm_20 and up. “cicc” is the NVVM executable, the Open64 executable is called “opencc” if I recall correctly.

So either cicc is absent on your machine (due to incomplete installation of CUDA 5.5) or it is present but cannot be found by the compiler driver nvcc (e.g. because it is not in the PATH).

1 Like