среда, 10 октября 2018 г.

Bug in Intel Fortran 2018

Наткнулся на замечательнейший баг в компиляторе Intel Fortran 18.0.2 20180210 на институтском кластере под Linux. Есть большой код, который компилируется следующей строкой:
I faced a peculiar bug in Intel Fortran 18.0.2 20180210 on our Linux cluster. A big code compiles using the following command:
ifort -O3  -traceback -DD -debug -check bounds -check format -check uninit -autodouble  -132 -warn none -fpp -no-wrap-margin -heap-arrays -mcmodel=medium -shared-intel -c
Во время исполнения код падает со следующей строкой:
During execution code crashes with the following message:

forrtl: severe (408): fort: (3): Subscript #1 of the array LAYERS_PROP has value -1 which is less than the lower bound of 0

пятница, 5 октября 2018 г.

Печатая Землю | Printing the Earth

Визуализация данных - самый важная и часто самая хромающая часть любого исследования. Геофизика - отличный тому пример. Как представить трёхмерные модели блоков земной коры поперечником в десятки и тысячи километров? Чаще всего ограничиваются отдельными сечениями-разрезами: ведь даже на картинке со всей 3D структурой всё будет наложено и переналожено десятки раз. 

Data visualization is one of the most important parts of any research. That's why it is usually absent. For example, in geophysics. How one can represent 3D blocks of the Earth's crust 10 to 1000 km wide? Most of people just end up with one or two cuts through it. Even a 3D image on a 2D plane will have lots of overlapses, so ii might be beautiful, but not very clear.
Три блока ещё на технологической подложке, четвёртый уже отодран (наиболее эффективно использовать зубы челюсти и тонким ножом).
Three blocks still stay on a technological bed, and the fourth one is already free. The most effective removal tools are your own teeth and a thin knife.