HPC Carpentry: Volume 4
- Добавил: literator
- Дата: 7-06-2025, 18:22
- Комментариев: 0

Автор: Victor Eijkhout
Издательство: Independently published
Серия: The Art of High Performance Computing
Год: March 28, 2024
Страниц: 237
Язык: английский
Формат: pdf (true), epub
Размер: 10.1 MB
The ecosystem of scientific computing involves much more than just a programming language and a parallel programming system: you need to understand about compilers, build systems, source code control, and a lot more. This book does not aim to be a compendium of all of these, but rather a set of introductions, biased to scientific workflows.
Software Carpentry refers to the vaguely defined set of skills that make a programmer more productive. This volume on “HPC Carpentry” teaches skills that are geared towards HPC practice: Unix, Compilers and libraries, Make and Cmake, Git, Source code control, Scientific data management and I/O, LaTeX, Debugging, Profiling and Tracing.
Most of the time, a program is written is written in a single language, but in some circumstances it is necessary or desirable to mix sources in more than one language for a single executable. One such case is when a library is written in one language, but used by a program in another. In such a case, the library writer will probably have made it easy for you to use the library; this section is for the case that you find yourself in the place of the library writer. We will focus on the common case of interoperability between C/C++ and Fortran or Python. This issue is complicated by the fact that both languages have been around for a long time, and various recent language standards have introduced mechanisms to facilitate interoperability. However, there is still a lot of old code around, and not all compilers support the latest standards. Therefore, we discuss both the old and the new solutions.
Your main tool for turning source into a program is the compiler. Compilers are specific to a language: you use a different compiler for C than for Fortran. You can also have two compilers for the same language, but from different ‘vendors’. For instance, while many people use the open source gcc or clang compiler families, companies like Intel and IBM offer compilers that may give more efficient code on their processors.
In this tutorial you will learn Git, the currently most popular version control (also source code control or revision control) systems. Other similar systems are Mercurial and Microsoft Sharepoint. Earlier systems were SCCS, CVS, Subversion, Bitkeeper. Version control is a system that tracks the history of a software project, by recording the successive versions of the files of the project. These versions are recorded in a repository, either on the machine you are working on, or remotely. The use of a version control system is industry standard practice, and Git is by far the most popular system these days.
Скачать HPC Carpentry: Volume 4

[related-news] [/related-news]
Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.