Error mpicc command not found [closed]
- by skn
I want to compile hdf5 but I find the following error:
/hdf5/hdf5-1.6.9CC=/usr/local/openmpi/bin/mpicc ./configure /home/sknandi/Research/ Simulation/hdf5/parallel_fdf5
CC=/usr/local/openmpi/bin/mpicc: Command not found.
The result of echo $PATH is
/hdf5/hdf5-1.6.9echo $PATH
/priv/myriad3/ayw/research/COALA/visit/bin:/usr/local/bin:/usr/bin:/bin:/pkg/linux/intel/composerxe-2011.3.174/composerxe-2011.3.174/bin/intel64:/pkg/linux/casa/x86_64:/usr/local/bin:/bin:/usr/bin:/usr/local/openmpi/bin:/pkg/linux/intel/composerxe-2011.3.174/composerxe-2011.3.174/mpirt/bin/intel64:/pkg/linux/SS12/solstudio12.2/bin:/usr/local/vanilla-pds/bin
and result of which mpicc is
/hdf5/hdf5-1.6.9which mpicc
/usr/local/openmpi/bin/mpicc