A poderosa nuvem: Intel® DevCloud com GPU Iris Xe Max!

Neste artigo veremos como utilizar o poder computacional das últimas gerações de hardware Intel na nuvem DevCloud gratuitamente, mas por tempo limitado. Além de processadores de última geração, poderemos testar a nova e primeira GPU da Intel dedicada Iris Xe MAX.

[ Hits: 2.112 ]

Por: Alessandro de Oliveira Faria (A.K.A. CABELO) em 30/06/2021 | Blog: http://assuntonerd.com.br


Mão na massa com a GPU Iris Xe Max



Agora conecte na DevCloud via ssh utilizando o comando abaixo com sua conta devidamente configurada. Se tudo estiver corretamente funcionando teremos a tela abaixo:

ssh devcloud
###############################################################################
#
# Welcome to the Intel DevCloud for oneAPI Projects!
#
# 1) See https://devcloud.intel.com/oneapi/ for instructions and rules for
# the OneAPI Instance.
#
# 2) See https://github.com/intel/FPGA-Devcloud for instructions and rules for
# the FPGA Instance.
#
# Note: Your invitation email sent to you contains the authentication URL.
#
# If you have any questions regarding the cloud usage, post them at
# https://software.intel.com/en-us/forums/intel-devcloud
#
# Intel DevCloud Team
#
###############################################################################
#
# Note: Cryptocurrency mining on the Intel DevCloud is forbidden.
# Mining will lead to immediate termination of your account.
#
###############################################################################
Last login: Mon Jun 28 22:51:06 2021 from 10.9.0.249
[email protected]:~$



Agora criaremos o arquivo ola_Iris_XE_Max.sh com o seguinte conteúdo abaixo.

tee >  ola_Iris_XE_Max.sh <<EOF
#!/bin/bash
wget http://service.assuntonerd.com.br/downloads/cmake-gpu.tar.gz   
tar -zxvf cmake-gpu.tar.gz  
mkdir -p cmake-gpu/build  
cd cmake-gpu/build  
cmake ..  
make run
EOF


Este script efetuará o download do código fonte exemplo em C, que executa um loop for, e conta até 15 utilizando a GPU, descompacta o arquivo .tar.gz, cria a pasta build efetua a compilação e executa.

Para testar o funcionamento execute o seguinte comando para submeter o script para processamento:

qsub -l nodes=1:iris_xe_max:ppn=2 -d . ola_Iris_XE_Max.sh
911915.v-qsvr-1.aidevcloud

Após alguns segundos digite ls e verifique o conteúdo do arquivo de saída com o comando cat. Veremos o seguinte resultado:

cat ola_Iris_XE_Max.sh.o911915
########################################################################
#      Date:           Mon 28 Jun 2021 11:45:08 PM PDT
#    Job ID:           911915.v-qsvr-1.aidevcloud
#      User:           u99999
# Resources:           neednodes=1:iris_xe_max:ppn=2,nodes=1:iris_xe_max:ppn=2,walltime=06:00:00
########################################################################

cmake-gpu/CMakeLists.txt
cmake-gpu/License.txt
cmake-gpu/README.md
cmake-gpu/sample.json
cmake-gpu/src/
cmake-gpu/src/CMakeLists.txt
cmake-gpu/src/main.cpp
cmake-gpu/third-party-programs.txt
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is Clang 12.0.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /glob/development-tools/versions/oneapi/2021.2/inteloneapi/compiler/2021.2.0/linux/bin/dpcpp
-- Check for working CXX compiler: /glob/development-tools/versions/oneapi/2021.2/inteloneapi/compiler/2021.2.0/linux/bin/dpcpp -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/u47345/cmake-gpu/build
Scanning dependencies of target cmake-gpu
[ 50%] Building CXX object src/CMakeFiles/cmake-gpu.dir/main.cpp.o
[100%] Linking CXX executable ../cmake-gpu
[100%] Built target cmake-gpu
Scanning dependencies of target build
[100%] Built target build
Scanning dependencies of target run
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[100%] Built target run

########################################################################
# End of output for job 911915.v-qsvr-1.aidevcloud
# Date: Mon 28 Jun 2021 11:45:25 PM PDT
########################################################################



Mais informações no link oficial: Intel® DevCloud https://software.intel.com/content/www/us/en/develop/tools/devcloud.html ou em contato diretamente comigo em [email protected]

"O próximo grande salto evolutivo da humanidade será a descoberta de que cooperar é melhor que competir... Pois colaborar atrai amigos, competir atrai inimigos!"
Página anterior    

Páginas do artigo
   1. Introdução Devcloud
   2. Conceitos
   3. Mão na massa com a GPU Iris Xe Max
Outros artigos deste autor

Xmorph: Efeitos de transformação de fotos com software livre

A Inteligência Artificial que escreve programas

RealBasic 2005: Um Visual Basic multi-plataforma!

Testamos: Visual Basic 8 .NET no Linux. Vejam o resultado!

Android Things - Aplicativos IoT padronizado para Indústria 4.0

Leitura recomendada

SDL e C - Uma dupla sensacional

SDL - Ótimo para criação de jogos

Criando aplicativos para o iPhone no Linux (sem Xcode e MacOS X)

OneAPI: A plataforma da Intel para facilitar o desenvolvimento com chips Intel, AMD, ARM, NVIDIA POWER e FPGA

openCertiface: Biométrica Facial em nuvem baseada em software livre

  
Comentários
[1] Comentário enviado por Alannah358 em 20/07/2021 - 03:34h

Thanks for sharing.I found a lot of interesting information here. A really good post, very thankful and hopeful that you will write many more posts like this one.
https://www.myaccountaccess.bid/

[2] Comentário enviado por mauricio123 em 30/07/2021 - 20:08h


Muito bom.

___________________________________________________________
[code]Conhecimento não se Leva para o Túmulo.
https://github.com/MauricioFerrari-NovaTrento [/code]


Contribuir com comentário