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

Errors when compiling with the checkerbaord flag (make.inc.gcc) #27

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?

1. Downloaded the code and changed the line in make.inc to "include 
$(QUEST_DIR)/makefiles/make.inc.gcc"
2. In makefiles/make.inc.gcc, added -D_CKB for to PRG_FLAGS
3. Compile by typing make in the parent directory

I see errors related to the "matb" structure.
The version of gcc is 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)

Here is how the complete output:

ehsan@[QUEST-1.4.1]$ make
make -C SRC
make[1]: Entering directory 
`/home/ehsan/Projects/OneFifthDepletedSQ/DQMC/QUEST-1.4.1/SRC'
gfortran -m64 -O3 -funroll-loops -Wall -D_CKB -DDQMC_ASQRD   -c dqmc_mpi.F90
dqmc_mpi.F90: In function ‘dqmc_mpi_is_root’:
dqmc_mpi.F90:153:0: warning: ‘isroot’ may be used uninitialized in this 
function [-Wuninitialized]
gfortran -m64 -O3 -funroll-loops -Wall -D_CKB -DDQMC_ASQRD   -c dqmc_util.F90
gfortran -m64 -O3 -funroll-loops -Wall -D_CKB -DDQMC_ASQRD   -c dqmc_cfg.F90
gfortran -m64 -O3 -funroll-loops -Wall -D_CKB -DDQMC_ASQRD   -c 
dqmc_geom_param.F90
gfortran -m64 -O3 -funroll-loops -Wall -D_CKB -DDQMC_ASQRD   -c dqmc_latt.F90
gfortran -m64 -O3 -funroll-loops -Wall -D_CKB -DDQMC_ASQRD   -c dqmc_bonds.F90
gfortran -m64 -O3 -funroll-loops -Wall -D_CKB -DDQMC_ASQRD   -c dqmc_reclatt.F90
gfortran -m64 -O3 -funroll-loops -Wall -D_CKB -DDQMC_ASQRD   -c dqmc_hamilt.F90
gfortran -m64 -O3 -funroll-loops -Wall -D_CKB -DDQMC_ASQRD   -c dqmc_symm.F90
gfortran -m64 -O3 -funroll-loops -Wall -D_CKB -DDQMC_ASQRD   -c dqmc_wspace.F90
gfortran -m64 -O3 -funroll-loops -Wall -D_CKB -DDQMC_ASQRD   -c dqmc_struct.F90
gfortran -m64 -O3 -funroll-loops -Wall -D_CKB -DDQMC_ASQRD   -c 
dqmc_geom_wrap.F90
gfortran -m64 -O3 -funroll-loops -Wall -D_CKB -DDQMC_ASQRD   -c dqmc_matb.F90
gfortran -m64 -O3 -funroll-loops -Wall -D_CKB -DDQMC_ASQRD   -c dqmc_ckb.F90
dqmc_ckb.F90:352.46:

  subroutine DQMC_MultBi_Right(n, M, B, V_i, C)
                                              1
Warning: Unused dummy argument 'c' at (1)
dqmc_ckb.F90:218.45:

  subroutine DQMC_MultB_Right(n, M, B, V_i, C)
                                             1
Warning: Unused dummy argument 'c' at (1)
gfortran -m64 -O3 -funroll-loops -Wall -D_CKB -DDQMC_ASQRD   -c dqmc_seqb.F90
gfortran -m64 -O3 -funroll-loops -Wall -D_CKB -DDQMC_ASQRD   -c dqmc_gfun.F90
dqmc_gfun.F90:467.45:

       call cpp_gfun_swapg(G%cpp_data, SB%B%B, SB%B%Bi, G%V(:,il), G%G)
                                             1
Error: 'b' at (1) is not a member of the 'matb' structure
dqmc_gfun.F90:485.70:

          call cpp_gfun_computeg(G%cpp_data, il, sgn, G%G, G%V, SB%B%B, SB%nOrt
                                                                      1
Error: 'b' at (1) is not a member of the 'matb' structure
dqmc_gfun.F90:509.69:

       call cpp_gfun_computeg(G%cpp_data, il, G%sgn, G%G, G%V, SB%B%B, SB%nOrth
                                                                     1
Error: 'b' at (1) is not a member of the 'matb' structure
make[1]: *** [dqmc_gfun.o] Error 1
make[1]: Leaving directory 
`/home/ehsan/Projects/OneFifthDepletedSQ/DQMC/QUEST-1.4.1/SRC'
make: *** [libdqmc] Error 2




Original issue reported on code.google.com by ehsankha...@gmail.com on 27 Jan 2014 at 10:13

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

No branches or pull requests

1 participant