<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[曙光环境验证]]></title><description><![CDATA[<p dir="auto">第一个节点<br />
ssh <a href="mailto:root@10.8.150.53" rel="nofollow ugc">root@10.8.150.53</a> 用户名/密码：root/TanzU2020_vip</p>
<p dir="auto">Architecture:          x86_64<br />
CPU op-mode(s):        32-bit, 64-bit<br />
Byte Order:            Little Endian<br />
CPU(s):                32<br />
On-line CPU(s) list:   0-31<br />
Thread(s) per core:    1<br />
Core(s) per socket:    32<br />
Socket(s):             1<br />
NUMA node(s):          4<br />
Vendor ID:             HygonGenuine<br />
CPU family:            24<br />
Model:                 0<br />
Model name:            Hygon C86 7185 32-core Processor<br />
Stepping:              1<br />
CPU MHz:               2000.000<br />
CPU max MHz:           2000.0000<br />
CPU min MHz:           1200.0000<br />
BogoMIPS:              4000.15<br />
Virtualization:        AMD-V<br />
L1d cache:             32K<br />
L1i cache:             64K<br />
L2 cache:              512K<br />
L3 cache:              8192K<br />
NUMA node0 CPU(s):     0-7<br />
NUMA node1 CPU(s):     8-15<br />
NUMA node2 CPU(s):     16-23<br />
NUMA node3 CPU(s):     24-31<br />
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc art rep_good nopl nonstop_tsc extd_apicid amd_dcm aperfmperf eagerfpu pni monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_l2 hw_pstate retpoline_amd ssbd ibpb vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 clzero irperf xsaveerptr arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif overflow_recov succor smca</p>
<p dir="auto">Memory block size:       128M<br />
Total online memory:     128G<br />
Total offline memory:      0B</p>
]]></description><link>http://an.forum.genostack.com/topic/478/曙光环境验证</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 12:33:14 GMT</lastBuildDate><atom:link href="http://an.forum.genostack.com/topic/478.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 04 Dec 2021 02:27:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 曙光环境验证 on Wed, 08 Dec 2021 09:01:20 GMT]]></title><description><![CDATA[<p dir="auto">编译TBB的时候clang 找不到<br />
export PATH=$PATH:/opt/rocm-4.5.0/llvm/bin/</p>
]]></description><link>http://an.forum.genostack.com/post/973</link><guid isPermaLink="true">http://an.forum.genostack.com/post/973</guid><dc:creator><![CDATA[anneng]]></dc:creator><pubDate>Wed, 08 Dec 2021 09:01:20 GMT</pubDate></item><item><title><![CDATA[Reply to 曙光环境验证 on Wed, 08 Dec 2021 08:41:08 GMT]]></title><description><![CDATA[<p dir="auto">/home/anneng/SegAlign/submodules/TBB/./src/tbbmalloc/proxy.cpp:299:68: error: alias must point to a defined variable or function<br />
void *aligned_alloc(size_t alignment, size_t size) <strong>attribute</strong> ((alias ("memalign")));<br />
^<br />
/home/anneng/SegAlign/submodules/TBB/./src/tbbmalloc/proxy.cpp:311:62: error: alias must point to a defined variable or function<br />
void *__libc_calloc(size_t num, size_t size) <strong>attribute</strong> ((alias ("calloc")));<br />
^<br />
/home/anneng/SegAlign/submodules/TBB/./src/tbbmalloc/proxy.cpp:312:70: error: alias must point to a defined variable or function<br />
void *__libc_memalign(size_t alignment, size_t size) <strong>attribute</strong> ((alias ("memalign")));<br />
^<br />
/home/anneng/SegAlign/submodules/TBB/./src/tbbmalloc/proxy.cpp:313:51: error: alias must point to a defined variable or function<br />
void *__libc_pvalloc(size_t size) <strong>attribute</strong> ((alias ("pvalloc")));<br />
^<br />
/home/anneng/SegAlign/submodules/TBB/./src/tbbmalloc/proxy.cpp:314:50: error: alias must point to a defined variable or function<br />
void *__libc_valloc(size_t size) <strong>attribute</strong> ((alias ("valloc")));</p>
]]></description><link>http://an.forum.genostack.com/post/972</link><guid isPermaLink="true">http://an.forum.genostack.com/post/972</guid><dc:creator><![CDATA[anneng]]></dc:creator><pubDate>Wed, 08 Dec 2021 08:41:08 GMT</pubDate></item><item><title><![CDATA[Reply to 曙光环境验证 on Wed, 08 Dec 2021 07:57:43 GMT]]></title><description><![CDATA[<p dir="auto">[root@h01r1n08 build]# cmake -DCMAKE_BUILD_TYPE=Release -DTBB_ROOT=${PWD}/../submodules/TBB -DCMAKE_PREFIX_PATH=${PWD}/../submodules/TBB/cmake ..<br />
-- The CXX compiler identification is GNU 7.3.1<br />
-- The HIP compiler identification is Clang 12.0.0<br />
CMake Error at /usr/local/share/cmake-3.22/Modules/CMakeDetermineHIPCompiler.cmake:105 (message):<br />
The ROCm root directory:</p>
<p dir="auto">/opt/rocm-4.0.1</p>
<p dir="auto">does not contain the HIP runtime CMake package, expected at:</p>
<p dir="auto">/opt/rocm-4.0.1/lib/cmake/hip-lang/hip-lang-config.cmake</p>
<p dir="auto">Call Stack (most recent call first):<br />
CMakeLists.txt:3 (project)</p>
<p dir="auto">-- Configuring incomplete, errors occurred!<br />
See also "/home/anneng/SegAlign/build/CMakeFiles/CMakeOutput.log".</p>
<p dir="auto">===========================</p>
<p dir="auto">-- The CXX compiler identification is GNU 7.3.1<br />
-- The HIP compiler identification is Clang 12.0.0<br />
CMake Error at /usr/local/share/cmake-3.22/Modules/CMakeDetermineHIPCompiler.cmake:105 (message):<br />
The ROCm root directory:</p>
<p dir="auto">/opt/rocm-4.0.1</p>
<p dir="auto">does not contain the HIP runtime CMake package, expected at:</p>
<p dir="auto">/opt/rocm-4.0.1/lib/cmake/hip-lang/hip-lang-config.cmake</p>
<p dir="auto">Call Stack (most recent call first):<br />
CMakeLists.txt:3 (project)</p>
<p dir="auto">-- Configuring incomplete, errors occurred!</p>
<p dir="auto">=======rocm-hip-sdk在4.5上面有=======<br />
之前给您装的是4.0.1的rocm，没有支持rocm-hip-sdk</p>
<p dir="auto">==还有类似的几个包也需要安装下==========<br />
yum install rocm-language-runtime<br />
yum install rocm-hip-runtime<br />
yum install rocm-hip-runtime-devel<br />
yum install rocm-hip-library<br />
yum install rocm-hip-libraries</p>
]]></description><link>http://an.forum.genostack.com/post/971</link><guid isPermaLink="true">http://an.forum.genostack.com/post/971</guid><dc:creator><![CDATA[anneng]]></dc:creator><pubDate>Wed, 08 Dec 2021 07:57:43 GMT</pubDate></item><item><title><![CDATA[Reply to 曙光环境验证 on Tue, 07 Dec 2021 10:18:11 GMT]]></title><description><![CDATA[<p dir="auto">安装 rocm<a href="/assets/uploads/files/1638872289504-%E8%A3%B8%E9%87%91%E5%B1%9Erocm4.0.1%E5%AE%89%E8%A3%85.docx">裸金属rocm4.0.1安装.docx</a></p>
]]></description><link>http://an.forum.genostack.com/post/970</link><guid isPermaLink="true">http://an.forum.genostack.com/post/970</guid><dc:creator><![CDATA[anneng]]></dc:creator><pubDate>Tue, 07 Dec 2021 10:18:11 GMT</pubDate></item><item><title><![CDATA[Reply to 曙光环境验证 on Tue, 07 Dec 2021 10:17:27 GMT]]></title><description><![CDATA[<p dir="auto">曙光升级后 报错<br />
[root@h01r1n08 ~]# /opt/rocm/bin/hipcc --version<br />
Can't exec "/opt/rocm-4.0.1/llvm/bin/clang++": No such file or directory at /opt/rocm-4.0.1/hip/bin/hipconfig line 141.<br />
Use of uninitialized value $HIP_CLANG_VERSION in pattern match (m//) at /opt/rocm-4.0.1/hip/bin/hipconfig line 142.<br />
Use of uninitialized value $HIP_CLANG_VERSION in concatenation (.) or string at /opt/rocm-4.0.1/hip/bin/hipconfig line 145.<br />
Can't exec "/opt/rocm-4.0.1/llvm/bin/clang++": No such file or directory at /opt/rocm-4.0.1/hip/bin/hipconfig line 141.<br />
Use of uninitialized value $HIP_CLANG_VERSION in pattern match (m//) at /opt/rocm-4.0.1/hip/bin/hipconfig line 142.<br />
Use of uninitialized value $HIP_CLANG_VERSION in concatenation (.) or string at /opt/rocm-4.0.1/hip/bin/hipconfig line 145.<br />
Can't exec "/opt/rocm-4.0.1/llvm/bin/clang++": No such file or directory at /opt/rocm-4.0.1/hip/bin/hipconfig line 141.<br />
Use of uninitialized value $HIP_CLANG_VERSION in pattern match (m//) at /opt/rocm-4.0.1/hip/bin/hipconfig line 142.<br />
Use of uninitialized value $HIP_CLANG_VERSION in concatenation (.) or string at /opt/rocm-4.0.1/hip/bin/hipconfig line 145.<br />
Can't exec "/opt/rocm-4.0.1/llvm/bin/clang++": No such file or directory at /opt/rocm-4.0.1/hip/bin/hipconfig line 141.<br />
Use of uninitialized value $HIP_CLANG_VERSION in pattern match (m//) at /opt/rocm-4.0.1/hip/bin/hipconfig line 142.<br />
Use of uninitialized value $HIP_CLANG_VERSION in concatenation (.) or string at /opt/rocm-4.0.1/hip/bin/hipconfig line 145.<br />
Can't exec "/opt/rocm-4.0.1/llvm/bin/clang": No such file or directory at /opt/rocm/bin/hipcc line 203.<br />
Use of uninitialized value $HIP_CLANG_VERSION in pattern match (m//) at /opt/rocm/bin/hipcc line 204.<br />
Use of uninitialized value $HIP_CLANG_VERSION in concatenation (.) or string at /opt/rocm/bin/hipcc line 208.<br />
Use of uninitialized value $HIP_CLANG_VERSION in concatenation (.) or string at /opt/rocm/bin/hipcc line 846.</p>
<p dir="auto">修复：缺少llvm包<br />
yum install llvm-amdgpu</p>
]]></description><link>http://an.forum.genostack.com/post/969</link><guid isPermaLink="true">http://an.forum.genostack.com/post/969</guid><dc:creator><![CDATA[anneng]]></dc:creator><pubDate>Tue, 07 Dec 2021 10:17:27 GMT</pubDate></item><item><title><![CDATA[Reply to 曙光环境验证 on Mon, 06 Dec 2021 06:34:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://an.forum.genostack.com/uid/1">@anneng</a> <a href="https://cmake.org/cmake/help/latest/command/enable_language.html" rel="nofollow ugc">https://cmake.org/cmake/help/latest/command/enable_language.html</a>    cmake在3.21版本正式支持了HIP 使用这个版本</p>
]]></description><link>http://an.forum.genostack.com/post/967</link><guid isPermaLink="true">http://an.forum.genostack.com/post/967</guid><dc:creator><![CDATA[anneng]]></dc:creator><pubDate>Mon, 06 Dec 2021 06:34:46 GMT</pubDate></item><item><title><![CDATA[Reply to 曙光环境验证 on Sat, 04 Dec 2021 11:03:04 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://rocmdocs.amd.com/en/latest/Programming_Guides/HIP-porting-guide.html#porting-a-new-cuda-project" rel="nofollow ugc">https://rocmdocs.amd.com/en/latest/Programming_Guides/HIP-porting-guide.html#porting-a-new-cuda-project</a></p>
<p dir="auto">使用这个文档转换segalign 代码</p>
<p dir="auto"><a href="http://hipexamine-perl.sh" rel="nofollow ugc">hipexamine-perl.sh</a> .<br />
hipify-perl --inplace<br />
<a href="http://hipconvertinplace-perl.sh" rel="nofollow ugc">hipconvertinplace-perl.sh</a> .</p>
<p dir="auto">export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/lib</p>
<p dir="auto"><a href="/assets/uploads/files/1638612925850-cmakelists.txt">CMakeLists.txt</a></p>
<p dir="auto">CXX=/opt/rocm/bin/hipcc cmake ..</p>
]]></description><link>http://an.forum.genostack.com/post/966</link><guid isPermaLink="true">http://an.forum.genostack.com/post/966</guid><dc:creator><![CDATA[anneng]]></dc:creator><pubDate>Sat, 04 Dec 2021 11:03:04 GMT</pubDate></item><item><title><![CDATA[Reply to 曙光环境验证 on Tue, 07 Dec 2021 10:45:58 GMT]]></title><description><![CDATA[<p dir="auto">oneTBB依赖 cmake3<br />
<a href="https://gist.github.com/1duo/38af1abd68a2c7fe5087532ab968574e" rel="nofollow ugc">https://gist.github.com/1duo/38af1abd68a2c7fe5087532ab968574e</a><br />
wget <a href="https://cmake.org/files/v3.21/cmake-3.21.3.tar.gz" rel="nofollow ugc">https://cmake.org/files/v3.21/cmake-3.21.3.tar.gz</a><br />
tar zxvf cmake-3.*<br />
cd cmake-3.*<br />
./bootstrap --prefix=/usr<br />
make -j$(nproc)<br />
make install<br />
cmake --version</p>
<p dir="auto">cmake version <em>.</em>.*<br />
CMake suite maintained and supported by Kitware (<a href="http://kitware.com/cmake" rel="nofollow ugc">kitware.com/cmake</a>).</p>
<p dir="auto">编译tbb<br />
cmake -DCMAKE_CXX_FLAGS=-DTBB_ALLOCATOR_TRAITS_BROKEN ..<br />
make -j<br />
make install</p>
]]></description><link>http://an.forum.genostack.com/post/965</link><guid isPermaLink="true">http://an.forum.genostack.com/post/965</guid><dc:creator><![CDATA[anneng]]></dc:creator><pubDate>Tue, 07 Dec 2021 10:45:58 GMT</pubDate></item><item><title><![CDATA[Reply to 曙光环境验证 on Sat, 04 Dec 2021 06:51:12 GMT]]></title><description><![CDATA[<p dir="auto">查看GPU个数<br />
sudo lshw -class display<br />
*-display<br />
description: Display controller<br />
product: Pre-Wukong DCU<br />
vendor: Pre-Wukong DCU<br />
physical id: 0<br />
bus info: pci@0000:63:00.0<br />
version: 04<br />
width: 64 bits<br />
clock: 33MHz<br />
capabilities: pm pciexpress msi bus_master cap_list rom<br />
configuration: driver=amdgpu latency=0<br />
resources: iomemory:880-87f iomemory:8c0-8bf irq:188 memory:8800000000-8bffffffff memory:8c00000000-8c001fffff memory:e4c00000-e4c7ffff memory:e4c80000-e4c9ffff</p>
<p dir="auto">曙光的机器有4块卡</p>
<p dir="auto"><img src="/assets/uploads/files/1638598196811-d3b07699-7d2a-45ae-bdc5-34cca393abfe-image.png" alt="d3b07699-7d2a-45ae-bdc5-34cca393abfe-image.png" class=" img-responsive img-markdown" /></p>
]]></description><link>http://an.forum.genostack.com/post/964</link><guid isPermaLink="true">http://an.forum.genostack.com/post/964</guid><dc:creator><![CDATA[anneng]]></dc:creator><pubDate>Sat, 04 Dec 2021 06:51:12 GMT</pubDate></item><item><title><![CDATA[Reply to 曙光环境验证 on Sat, 04 Dec 2021 04:03:21 GMT]]></title><description><![CDATA[<p dir="auto">AMD的整个GPU体系基于ROCm<br />
<img src="/assets/uploads/files/1638589087508-95c3025c-b949-4c85-8484-6e3096271df0-image.png" alt="95c3025c-b949-4c85-8484-6e3096271df0-image.png" class=" img-responsive img-markdown" /></p>
<p dir="auto">其中编程模型部分市HIP，如果是cuda的代码 可以使用hipify将其转成hip代码<br />
The Heterogeneous Computing Interface for Portability (HIP) is a vendor-neutral C++ programming model for implementing highly tuned workload for GPUs. HIP (like CUDA) is a dialect of C++ supporting templates, classes, lambdas, and other C++ constructs.</p>
<p dir="auto">A “hipify” tool is provided to ease conversion of CUDA codes to HIP, enabling code compilation for either AMD or NVIDIA GPU (CUDA) environments.  The ROCm<img src="http://an.forum.genostack.com/assets/plugins/nodebb-plugin-emoji/emoji/android/2122.png?v=5opkpnl53ss" class="not-responsive emoji emoji-android emoji--tm" title=":tm:" alt="™" /> HIP compiler is based on Clang, the LLVM compiler infrastructure, and the “libc++” C++ standard library.</p>
<p dir="auto"><img src="/assets/uploads/files/1638588252551-d003df19-6c67-4adc-bfb7-ba15587782be-image.png" alt="d003df19-6c67-4adc-bfb7-ba15587782be-image.png" class=" img-responsive img-markdown" /></p>
<p dir="auto">=============<br />
cannot open file /mnt/repodata/repomd.xml<br />
因为下面这个仓库导致  禁用这个repo  设置enabled=0<br />
/etc/yum.repos.d/CentOS-Media.repo</p>
]]></description><link>http://an.forum.genostack.com/post/963</link><guid isPermaLink="true">http://an.forum.genostack.com/post/963</guid><dc:creator><![CDATA[anneng]]></dc:creator><pubDate>Sat, 04 Dec 2021 04:03:21 GMT</pubDate></item></channel></rss>