?????????(HPC) - PowerPoint PPT Presentation

1 / 26
About This Presentation
Title:

?????????(HPC)

Description:

?(hpc) 1. 2. 3. 1. cpu sgi ... – PowerPoint PPT presentation

Number of Views:118
Avg rating:3.0/5.0
Slides: 27
Provided by: wguo9
Category:
Tags: hpc | linux

less

Transcript and Presenter's Notes

Title: ?????????(HPC)


1
???????
2
  • ?????????(HPC)
  • 1.????
  • 2.???
  • 3.????

3
  • ???????????
  • 1. ?CPU??????(SGI Altix 3000)
  • 2. ??(cluster)??(??????)
  • ????
  • Unix, Linux, Windows
  • ??????
  • MPI, OpenMP

4
SGI Altix 3700????
? ???? 1.C brick 32?1.3GHz/3M Intel Itanium2
cpu 2. M brick 32G?? 3. R brick?? 4. IX
brick??/?? 5. D brick ????(??1T??)
5
(No Transcript)
6
? ????
  • NUMAflex?????????
  • ????????, ????
  • ??????????????
  • ??
  • ??????????
  • ????????
  • ??HPC????????
  • ????

7
(No Transcript)
8
????
  • ????64?Linux Advanced Server SGI HPC ProPack
  • ???Intel C, C, Fortran , Math Kernel Library

9
(No Transcript)
10
MPI ??
11
OpenMP ??
12
????
  • SGI HPC ???????
  • SGI MPT (Message Passing Toolkit)
  • ???MPI ?SHMEM ?????
  • MPT ????????????SSI???, ??????????
  • SGI NUMA???
  • ????cpu???????? cpuset, memset, dplace
  • SGI ????(Array Services)
  • ??????????, ????????????
  • SGI Performance Co-Pilot ??????????
  • SGI FFIO ???I/O ?????
  • SGI ?????SCSL

13
??????
  • ? ????
  • ?windows?????
  • 1. ??xmanager?????xwindows?????
  • 2. ??ssh-client??????
  • ?Linux???????ssh ????

14
(No Transcript)
15
  • ???????
  • ?windows?????
  • ??ssh-client???sftp??
  • ?Linux???????sftp ??

16
  • Linux ????
  • whoami \gt lists your login
    name
  • ls \gt lists
    filenames in working directory
  • ls -l \gt same list
    with additional information
  • ls -l more \gt if list too long
    page down with
  • space bar
  • cp file1 file2 \gt copies file1 to
    file2 (NB exists
  • already?)
  • mv file3 file4 \gt file3 is renamed
    file4
  • rm file1 \gt discards file1.
    Clean up from time
  • to time.
  • mkdir dir1 \gt creates new
    directory with name
  • dir1
  • mv file2 dir1/file2 \gt moves file2 to
    directory dir1
  • mv file2 dir1/ \gt does precisely the
    same

17
  • cd dir1 \gt change working directory
    to dir1
  • cd .. \gt go back (one branch down
    the tree)
  • rmdir dir1 \gt discard dir1 (works only
    when empty)
  • pwd \gt lists path to working
    directory
  • ps -ef \gt list of activities of
    computer
  • ps -ef more \gt if list is too long
  • efc -O2 prog.f -o prog \gt see file
    'Howto.txt' for details
  • proggtoutput1 \gt run program
    prog output in file

  • output1'
  • progltinput2gtoutput1 \gt the same using input
    file

  • named input2'
  • progltinput2gtoutput1 \gt the same in
    background'
  • control-c \gt if cursor
    does not return kill task

18
  • ??????
  • 1.how to compile a fortran program?
  • efc -O2 tpp2 yourprog.f -o yourprog.out
  • 2. how to compile a C program?
  • ecc -O2 -tpp2 yourprog.c -o yourprog.out

19
  • ??????
  • 1. openmp paralleled fortran program
  • efc -O2 -tpp2 -fpp -openmp yourprog.f -o
    yourprog.out
  • 2 .mpi paralleled fortran program
  • efc -O2 -tpp2 yourprog.f -o yourprog.out -lmpi
  • 3. openmp paralleled C program
  • ecc -O2 -tpp2 -openmp yourprog.c -o
    yourporg.out

20
  • ?????????OPENMP????
  • 1. without input
  • ./yourprog.out or ./yourprog.out
  • 2. with input file
  • ./yourprog.outltinput
  • ??????MPI????
  • mpirun -np 8 yourprog.outltinput
  • ??????
  • ./yourprog.outltinputgtoutputfile
  • ???????????
  • Top or ps -efgrep
    yourlogname

21
????
  • ??PBS pro???????????????,????????????
  • ??1.??????????????
  • 2.????????????
  • 3. ?????????????
  • 4. ?????????
  • ????qmgr,qstart,qstop
  • ????qstat,qsub,qdel

22
???????
  • ????????,??????????????,??, job_sample

PBS -N small PBS l walltime16000,mem100mb,n
cpus4 PBS -m be mpirun -np 4 /home/wenan/mc2do3/
mpimc2do3q.outlt/home/wenan/mc2do3/inputmpigtgt/home/
wenan/mc2do3/outmpi this sample for a mpi
program
23
  • ??
  • qsub job_sample q big
  • ??job_sample?????,big???????????

24
  • ??????
  • qstat q ?????????
  • qstat a ????????????

25
(No Transcript)
26
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com