- Forum
- Main Forum
- Cassandra Software
- Cannot compile cassandra in Macbook Pro : Error: Arguments of 'iand' random_gen
Cannot compile cassandra in Macbook Pro : Error: Arguments of 'iand' random_gen
- skundu
- Topic Author
- Offline
- New Member
- Posts: 2
- Thank you received: 0
But the problem happens, when I tried to compile cassandra in my MacBook Pro. I have installed Homebrew and I am trying to compile cassandra via gfortran compiler. But following errors are generated when it tries to compile random_generator.f90 file.
Please suggest me.
Subrata
skundu:Src$ make -f Makefile.gfortran
Makefile.gfortran:139: dep.mk: No such file or directory
./get_deps
gfortran -c -ffree-line-length-none -O3 type_definitions.f90
gfortran -c -ffree-line-length-none -O3 global_variables.f90
gfortran -c -ffree-line-length-none -O3 file_names.f90
gfortran -c -ffree-line-length-none -O3 io_utilities.f90
gfortran -c -ffree-line-length-none -O3 pair_nrg_routines.f90
gfortran -c -ffree-line-length-none -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: *** [random_generators.o] Error 1
Please Log in to join the conversation.
- casbella
- Offline
- New Member
- Posts: 1
- Thank you received: 0
skundu wrote: Hi, I am new to Cassandra and I have successfully compiled it in my remote linux machine.
But the problem happens, when I tried to compile cassandra in my MacBook Pro. I have installed Homebrew and I am trying to compile cassandra via gfortran compiler. But following errors are generated when it tries to compile random_generator.f90 file.
Please suggest me.
Subrata
skundu:Src$ make -f Makefile.gfortran
Makefile.gfortran:139: dep.mk: No such file or directory
./get_deps
gfortran -c -ffree-line-length-none -O3 type_definitions.f90
gfortran -c -ffree-line-length-none -O3 global_variables.f90
gfortran -c -ffree-line-length-none -O3 file_names.f90
gfortran -c -ffree-line-length-none -O3 io_utilities.f90
gfortran -c -ffree-line-length-none -O3 pair_nrg_routines.f90
gfortran -c -ffree-line-length-none -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: *** [random_generators.o] Error 1
Same problem here. Any solution?
Thanks.
Please Log in to join the conversation.
- ejmaginn
- Offline
- Administrator
- Posts: 37
- Thank you received: 10
github.com/MaginnGroup/Cassandra
There are also instructions there for how to compile Cassandra using conda, which is much easier and should work out well for you.
Please Log in to join the conversation.
- Forum
- Main Forum
- Cassandra Software
- Cannot compile cassandra in Macbook Pro : Error: Arguments of 'iand' random_gen