ucvm
ucvm copied to clipboard
UCVM giving error in compilation
Hi Team
We are trying to install UCVM In our Centos 7 HPC environment and its giving the below error at compilation. Can you please suggest what needs to be done?
https://github.com/sceccode/ucvm/wiki/How-to-Guides
We have required gfortran/gcc and python modules loaded.
Error:
for(int i=0; i<UCVM_MAX_MAPS; i++) {
^
ucvm_map.c: In function ‘get_map_by_label’:
ucvm_map.c:43:4: error: ‘for’ loop initial declarations are only allowed in C99 mode
for(int i=0; i<UCVM_MAX_MAPS; i++) {
^
ucvm_map.c: In function ‘_get_map_next’:
ucvm_map.c:53:4: error: ‘for’ loop initial declarations are only allowed in C99 mode
for(int i=0; i<UCVM_MAX_MAPS; i++) {
^
make[1]: *** [ucvm_map.o] Error 1
make[1]: Leaving directory `/root/ucvm/src/ucvm'
make: *** [all-recursive] Error 1
ERROR:
An error occurred while trying to setup UCVM. Specifically, the error was:
Error executing command.
At step: ['make']
Thank you CS