Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UCVM giving error in compilation #41

Open
chittu11 opened this issue Oct 27, 2022 · 0 comments
Open

UCVM giving error in compilation #41

chittu11 opened this issue Oct 27, 2022 · 0 comments

Comments

@chittu11
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant