Cannot compile Cassandra with gfortran
- rodolfoamancio
- Topic Author
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
4 years 1 month ago #666
by rodolfoamancio
Hello, everyone.
I'm trying to compile Cassandra using the appropriate commands and files:
make clean
make -fMakefile.gfortran.openMP
However, there are some errors occurring, here is the teminal output:
rodolfo@rodolfo-300E5M-300E5L:~/Cassandra_V1.2/Src$ make clean
./get_deps
rm -fr *.o *.mod dep.mk
rodolfo@rodolfo-300E5M-300E5L:~/Cassandra_V1.2/Src$ make -f Makefile.gfortran.openMP
./get_deps
gfortran -c -ffree-line-length-none -fopenmp -O3 type_definitions.f90
gfortran -c -ffree-line-length-none -fopenmp -O3 global_variables.f90
gfortran -c -ffree-line-length-none -fopenmp -O3 file_names.f90
gfortran -c -ffree-line-length-none -fopenmp -O3 io_utilities.f90
gfortran -c -ffree-line-length-none -fopenmp -O3 pair_nrg_routines.f90
gfortran -c -ffree-line-length-none -fopenmp -O3 random_generators.f90
random_generators.f90:79:23:
79 | s1 = IEOR( ISHFT( IAND(s1,-2), 10), b)
| 1
Error: Arguments of ‘iand’ have different kind type parameters at (1)
random_generators.f90:81:23:
81 | s2 = IEOR( ISHFT( IAND(s2,-512), 5), b)
| 1
Error: Arguments of ‘iand’ have different kind type parameters at (1)
random_generators.f90:83:23:
83 | s3 = IEOR( ISHFT( IAND(s3,-4096), 29), b)
| 1
Error: Arguments of ‘iand’ have different kind type parameters at (1)
random_generators.f90:85:23:
85 | s4 = IEOR( ISHFT( IAND(s4,-131072), 23), b)
| 1
Error: Arguments of ‘iand’ have different kind type parameters at (1)
random_generators.f90:87:23:
87 | s5 = IEOR( ISHFT( IAND(s5,-8388608), , b)
| 1
Error: Arguments of ‘iand’ have different kind type parameters at (1)
random_generators.f90:59:9:
59 | IF (IAND(s1, -2) == 0) s1 = i1 - 8388607
| 1
Error: Arguments of ‘iand’ have different kind type parameters at (1)
random_generators.f90:60:9:
60 | IF (IAND(s3, -4096) == 0) s3 = i3 - 8388607
| 1
Error: Arguments of ‘iand’ have different kind type parameters at (1)
make: *** [Makefile.gfortran.openMP:127: random_generators.o] Error 1
Does anyone know this issue and how to fix?
Thanks a lot.
I'm trying to compile Cassandra using the appropriate commands and files:
make clean
make -fMakefile.gfortran.openMP
However, there are some errors occurring, here is the teminal output:
rodolfo@rodolfo-300E5M-300E5L:~/Cassandra_V1.2/Src$ make clean
./get_deps
rm -fr *.o *.mod dep.mk
rodolfo@rodolfo-300E5M-300E5L:~/Cassandra_V1.2/Src$ make -f Makefile.gfortran.openMP
./get_deps
gfortran -c -ffree-line-length-none -fopenmp -O3 type_definitions.f90
gfortran -c -ffree-line-length-none -fopenmp -O3 global_variables.f90
gfortran -c -ffree-line-length-none -fopenmp -O3 file_names.f90
gfortran -c -ffree-line-length-none -fopenmp -O3 io_utilities.f90
gfortran -c -ffree-line-length-none -fopenmp -O3 pair_nrg_routines.f90
gfortran -c -ffree-line-length-none -fopenmp -O3 random_generators.f90
random_generators.f90:79:23:
79 | s1 = IEOR( ISHFT( IAND(s1,-2), 10), b)
| 1
Error: Arguments of ‘iand’ have different kind type parameters at (1)
random_generators.f90:81:23:
81 | s2 = IEOR( ISHFT( IAND(s2,-512), 5), b)
| 1
Error: Arguments of ‘iand’ have different kind type parameters at (1)
random_generators.f90:83:23:
83 | s3 = IEOR( ISHFT( IAND(s3,-4096), 29), b)
| 1
Error: Arguments of ‘iand’ have different kind type parameters at (1)
random_generators.f90:85:23:
85 | s4 = IEOR( ISHFT( IAND(s4,-131072), 23), b)
| 1
Error: Arguments of ‘iand’ have different kind type parameters at (1)
random_generators.f90:87:23:
87 | s5 = IEOR( ISHFT( IAND(s5,-8388608), , b)
| 1
Error: Arguments of ‘iand’ have different kind type parameters at (1)
random_generators.f90:59:9:
59 | IF (IAND(s1, -2) == 0) s1 = i1 - 8388607
| 1
Error: Arguments of ‘iand’ have different kind type parameters at (1)
random_generators.f90:60:9:
60 | IF (IAND(s3, -4096) == 0) s3 = i3 - 8388607
| 1
Error: Arguments of ‘iand’ have different kind type parameters at (1)
make: *** [Makefile.gfortran.openMP:127: random_generators.o] Error 1
Does anyone know this issue and how to fix?
Thanks a lot.
Please Log in to join the conversation.
Time to create page: 0.093 seconds