Ok, we can try to make it clear that you should be looking at the develop branch.
I thought the docker was pointing to the GCN3 staging branch, despite being on the develop branch, but that error is likely what this pending patch is fixing: https://gem5-review.googlesource.com/c/public/gem5/+/33655. Since the GCN3 staging branch is in the process of being merged into develop, not everything is working yet. Thus, like Dan G. mentioned to you previously, I recommend pointing the Docker to the staging branch for now. Matt On Sun, Aug 30, 2020 at 1:27 PM Samaksh Sethi via gem5-users < gem5-users@gem5.org> wrote: > Thanks! > That itself was my issue, I didn't understand from the documentation that > I had to clone the develop branch, I was just using the master branch! > > But I'm still getting errors just running build commands directly from the > documentation > https://youtu.be/HhLiMrjqCvA - This is the guide I'm following > > *1st run - * > *docker run --rm -v $PWD/gem5:/gem5 -w /gem5 gcn-docker scons -sQ -j4 > build/GCN3_X86/gem5.opt* > Warning: Your compiler doesn't support incremental linking and lto at the > same > time, so lto is being disabled. To force lto on anyway, use the > --force-lto option. That will disable partial linking. > Info: Using Python config: python2.7-config > Checking for hdf5-serial using pkg-config... no > Checking for hdf5 using pkg-config...Package hdf5-serial was not found in > the pkg-config search path. > Perhaps you should add the directory containing `hdf5-serial.pc' > to the PKG_CONFIG_PATH environment variable > No package 'hdf5-serial' found > no > Package hdf5 was not found in the pkg-config search path. > Perhaps you should add the directory containing `hdf5.pc' > to the PKG_CONFIG_PATH environment variable > No package 'hdf5' found > Warning: Couldn't find any HDF5 C++ libraries. Disabling > HDF5 support. > Variables file /gem5/build/variables/GCN3_X86 not found, > using defaults in /gem5/build_opts/GCN3_X86 > MOESI_AMD_Base-dir.sm:220: Warning: Non-void return ignored, return type > is 'bool' > MOESI_AMD_Base-dir.sm:1034: Warning: Non-void return ignored, return type > is 'Tick' > MOESI_AMD_Base-dir.sm:1038: Warning: Non-void return ignored, return type > is 'Tick' > MOESI_AMD_Base-dir.sm:1042: Warning: Non-void return ignored, return type > is 'Tick' > MOESI_AMD_Base-dir.sm:1046: Warning: Non-void return ignored, return type > is 'Tick' > MOESI_AMD_Base-dir.sm:1050: Warning: Non-void return ignored, return type > is 'Tick' > MOESI_AMD_Base-dir.sm:1054: Warning: Non-void return ignored, return type > is 'Tick' > MOESI_AMD_Base-dir.sm:1058: Warning: Non-void return ignored, return type > is 'Tick' > MOESI_AMD_Base-dir.sm:586: Warning: Unused action: l_queueMemWBReq, Write > WB data to memory > MOESI_AMD_Base-dir.sm:941: Warning: Unused action: > mwc_markSinkWriteCancel, Mark to sink impending VicDirty > MOESI_AMD_Base-dir.sm:1033: Warning: Unused action: dl_deallocateL3, > deallocate the L3 block > MOESI_AMD_Base-dir.sm:1069: Warning: Unused action: > yy_recycleResponseQueue, recycle response queue > MOESI_AMD_Base-dma.sm:187: Warning: Non-void return ignored, return type > is 'Tick' > MOESI_AMD_Base-dma.sm:191: Warning: Non-void return ignored, return type > is 'Tick' > MOESI_AMD_Base-CorePair.sm:325: Warning: Non-void return ignored, return > type is 'bool' > MOESI_AMD_Base-CorePair.sm:802: Warning: Non-void return ignored, return > type is 'Tick' > MOESI_AMD_Base-CorePair.sm:806: Warning: Non-void return ignored, return > type is 'Tick' > MOESI_AMD_Base-CorePair.sm:810: Warning: Non-void return ignored, return > type is 'Tick' > MOESI_AMD_Base-CorePair.sm:814: Warning: Non-void return ignored, return > type is 'Tick' > MOESI_AMD_Base-CorePair.sm:1270: Warning: Non-void return ignored, return > type is 'Scalar' > MOESI_AMD_Base-CorePair.sm:1274: Warning: Non-void return ignored, return > type is 'Scalar' > MOESI_AMD_Base-CorePair.sm:1278: Warning: Non-void return ignored, return > type is 'Scalar' > MOESI_AMD_Base-CorePair.sm:1282: Warning: Non-void return ignored, return > type is 'Scalar' > GPU_VIPER-TCP.sm:166: Warning: Non-void return ignored, return type is > 'bool' > GPU_VIPER-TCP.sm:451: Warning: Non-void return ignored, return type is > 'Tick' > GPU_VIPER-TCP.sm:455: Warning: Non-void return ignored, return type is > 'Tick' > GPU_VIPER-TCP.sm:532: Warning: Non-void return ignored, return type is > 'Scalar' > GPU_VIPER-TCP.sm:536: Warning: Non-void return ignored, return type is > 'Scalar' > GPU_VIPER-TCP.sm:385: Warning: Unused action: norl_issueRdBlkOrloadDone, > local load done > GPU_VIPER-SQC.sm:143: Warning: Non-void return ignored, return type is > 'bool' > GPU_VIPER-SQC.sm:275: Warning: Non-void return ignored, return type is > 'Tick' > GPU_VIPER-SQC.sm:279: Warning: Non-void return ignored, return type is > 'Tick' > GPU_VIPER-TCC.sm:168: Warning: Non-void return ignored, return type is > 'bool' > GPU_VIPER-TCC.sm:442: Warning: Non-void return ignored, return type is > 'Scalar' > GPU_VIPER-TCC.sm:446: Warning: Non-void return ignored, return type is > 'Scalar' > GPU_VIPER-TCC.sm:551: Warning: Non-void return ignored, return type is > 'Tick' > GPU_VIPER-TCC.sm:555: Warning: Non-void return ignored, return type is > 'Tick' > GPU_VIPER-TCC.sm:559: Warning: Non-void return ignored, return type is > 'Tick' > GPU_VIPER-TCC.sm:583: Warning: Non-void return ignored, return type is > 'Tick' > MOESI_AMD_Base-L3cache.sm:196: Warning: Non-void return ignored, return > type is 'bool' > MOESI_AMD_Base-L3cache.sm:611: Warning: Non-void return ignored, return > type is 'Tick' > MOESI_AMD_Base-L3cache.sm:615: Warning: Non-void return ignored, return > type is 'Tick' > MOESI_AMD_Base-L3cache.sm:619: Warning: Non-void return ignored, return > type is 'Tick' > MOESI_AMD_Base-L3cache.sm:623: Warning: Non-void return ignored, return > type is 'Tick' > MOESI_AMD_Base-L3cache.sm:561: Warning: Unused action: > rd_copyDataFromRequest, write data to L3 > build/GCN3_X86/dev/hsa/hsa_driver.cc: In member function 'void > HSADriver::allocateQueue(PortProxy&, Addr)': > build/GCN3_X86/dev/hsa/hsa_driver.cc:106:5: error: 'TypedBufferArg' was > not declared in this scope > TypedBufferArg<kfd_ioctl_create_queue_args> args(ioc_buf); > ^ > build/GCN3_X86/dev/hsa/hsa_driver.cc:106:47: error: expected > primary-expression before '>' token > TypedBufferArg<kfd_ioctl_create_queue_args> args(ioc_buf); > ^ > build/GCN3_X86/dev/hsa/hsa_driver.cc:106:61: error: 'args' was not > declared in this scope > TypedBufferArg<kfd_ioctl_create_queue_args> args(ioc_buf); > ^ > scons: *** [build/GCN3_X86/dev/hsa/hsa_driver.o] Error 1 > *** Summary of Warnings *** > Warning: Your compiler doesn't support incremental linking and lto at the > same > time, so lto is being disabled. To force lto on anyway, use the > --force-lto option. That will disable partial linking. > > *2nd run (slightly different command from * > http://www.gem5.org/documentation/general_docs/gpu_models/GCN3*) - * > *docker run --rm -v $PWD/gem5:/gem5 -w /gem5 gcn-docker scons -sQ > -j$(nproc) build/GCN3_X86/gem5.opt* > Warning: Your compiler doesn't support incremental linking and lto at the > same > time, so lto is being disabled. To force lto on anyway, use the > --force-lto option. That will disable partial linking. > Info: Using Python config: python2.7-config > Checking for hdf5-serial using pkg-config... no > Checking for hdf5 using pkg-config...Package hdf5-serial was not found in > the pkg-config search path. > Perhaps you should add the directory containing `hdf5-serial.pc' > to the PKG_CONFIG_PATH environment variable > No package 'hdf5-serial' found > Package hdf5 was not found in the pkg-config search path. > Perhaps you should add the directory containing `hdf5.pc' > to the PKG_CONFIG_PATH environment variable > No package 'hdf5' found > no > Warning: Couldn't find any HDF5 C++ libraries. Disabling > HDF5 support. > build/GCN3_X86/dev/hsa/hsa_driver.cc: In member function 'void > HSADriver::allocateQueue(PortProxy&, Addr)': > build/GCN3_X86/dev/hsa/hsa_driver.cc:106:5: error: 'TypedBufferArg' was > not declared in this scope > TypedBufferArg<kfd_ioctl_create_queue_args> args(ioc_buf); > ^ > build/GCN3_X86/dev/hsa/hsa_driver.cc:106:47: error: expected > primary-expression before '>' token > TypedBufferArg<kfd_ioctl_create_queue_args> args(ioc_buf); > ^ > build/GCN3_X86/dev/hsa/hsa_driver.cc:106:61: error: 'args' was not > declared in this scope > TypedBufferArg<kfd_ioctl_create_queue_args> args(ioc_buf); > ^ > scons: *** [build/GCN3_X86/dev/hsa/hsa_driver.o] Error 1 > *** Summary of Warnings *** > Warning: Your compiler doesn't support incremental linking and lto at the > same > time, so lto is being disabled. To force lto on anyway, use the > --force-lto option. That will disable partial linking. > > I'm running Ubuntu 20.04 LTS if that's of any help. > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-le...@gem5.org > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s