ورود به حساب کاربری

نام کاربری *
رمز عبور *
یاداوری

نصب و راه اندازی MITgcm

User Rating: 4 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Inactive
 

MITgcm (MIT General Circulation Model)

مدل گردش عموميMIT يك كد كامپيوتر عددی است كه معادلات حركت كننده جو اقیانوس یا جو زمین را با استفاده از روش حجم محدود حل می كند.MITgcm در موسسه فناوری ماساچوست توسعه یافت و یکی از اولین مدل های غیر هیدرواستاتیک اقیانوس بود.

 

پیش نیازها

intel-ics-2015

intel-mpi-5

mkl-2015

دستور git clone یک نسخه از مخزن Git موجود را به محیط لوکال و سیستم شما منتقل می‌نماید:

 

% git clone https://github.com/MITgcm/MITgcm.git

 

 

فرض کنید که میخواهید کد را به صورت آزمایشی در verification/exp2 بسازید و اجرا کنید. اجازه دهید کد را در verification/exp2/build بسازیم:

% cd verification/exp2/build

 

ابتدا، Makefile را بسازید : 

% ../../../tools/genmake2 -mods ../code -mpi -of ../../../tools/build_options/linux_amd64_ifort+impi

% make depend

% make -j 8

 

گزینه خط فرمان-mods  می گوید که genmake2 کد منبع مدل با هر فایل در پوشه ../code/ را override کند.

اگر کامپایل با موفقیت انجام شود، اکنون یک فایل اجرایی به نام mitgcmuv در دایرکتوری محلی(build) وجود دارد. برای اجرای مدل به عنوان یک فرآیند واحد (به عنوان مثال، به صورت موازی) تایپ کنید (فرض کنید شما هنوز در پوشه build هستید) :

% cd ../run

% ln -s ../input/* .

% cp ../build/mitgcmuv .

% ./mitgcmuv

 

کد را با " MPI "run یا "MPI "exec  متناسب با برنامه و پیاده سازی خاص MPI اجرا کنید.

% cd ../run

% ln -s ../input/* .

% cp ../build/mitgcmuv .

% mpirun -np 4 ./mitgcmuv

The ASTEK company has been established to provide solutions in high performance computing, data analysis, big data, and large-scale data to organizations and companies in the digital age. Services offered by the company include designing big data solutions, setting up data lakes and data warehouses, building data catalogs, data analysis, machine learning, and more.

 

hacklink al hack forum organik hit kayseri escort