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

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

Installing COMSOL on Linux

امتیاز کاربران

ستاره غیر فعالستاره غیر فعالستاره غیر فعالستاره غیر فعالستاره غیر فعال
 

Problem Description

This solution provides some tips and troubleshooting guides for installation on the Linux platform. For basic installation information, please refer to the COMSOL Multiphysics Installation Guide

Solution

Verify that a display is available

The installation program is an X-Windows application and needs access to an X-Windows display to run. Make sure that your DISPLAY variable is set up correctly and that you have access to an X-Windows display: from a terminal window, issue the command xclock to test that the X-Windows display is working properly (see also the Troubleshooting section below).

Administrative rights

To install your COMSOL software products in a system directory such as /usr/local, you might need to run the installation program as the root user. The COMSOL installer for Linux does not modify any files on your system outside the COMSOL installation directory.

Mounting a DVD

DVD drives in Linux need to be mounted (if you are reading this, the OS has probably not mounted the DVD automatically). Specifically, they need to be mounted into a mount point on the file system. Mount points are like directories, and the directory can be anywhere. However common practice is to have them within the /media or /mnt directories. These are system directory areas and thus require root privileges to alter, add or edit.
The mount point/directory usually already exists on the system, it will just be empty. If no mount point exists it can be created:

mkdir -p /media/COMSOL53a

Note: You may need to add sudo before the command to run this command as root. A root password will be required.
The user now has to determine the name of the physical DVD drive within their system. Almost all peripherals (hard drives, dvd drives, input devices etc) are all installed and named within the /dev directory. To discover the name of the DVD drive list the directory:

ls /dev

this will give similar output to (not exactly the same):

bus
stderr
stdin
dvd
console ram0
ram1
(+lots more)

It does not matter what you get (as it will be different on all systems) just look out for dvd or cdrom, or something similar. In this case, it’s likely that the device is simply called dvd.

One common error message on installation if you do not have execute rights to the DVD drive is

setup: line 496:
/media/COMSOL53a/bin/glnxa64/setuplauncher:
Permission denied

You should re-mount the drive using the following command (needs to be done as root, or put sudo before the command):

sudo mount -o exec -t iso9660 /dev/dvd /media/COMSOL53a

The exec option is to ensure that the disk gets execute permissions. If successful, you should get output similar to:

mount: block device /dev/dvd is write-protected, mounting read-only

OR it may complain that either /dev/dvd is wrong or that /media/COMSOL53a does not exist.

If this is the case check the name of the device and confirm that the mount point exists.
You can now run setup as described above, using the mount directory for the drive.

Creating a symbolic link to the COMSOL application

To make sure all users can easily start COMSOL, include the comsol53a/multiphysics/bin directory in all users’ paths, or make a symbolic link from /usr/local/bin/comsol to the comsol command, see example below.

Creating the comsol command by a symbolic link

Again as root (or use sudo) type the following command:

sudo ln -s /usr/local/comsol53a/multiphysics/bin/comsol /usr/local/bin/comsol

COMSOL can now be run by all users by typing comsol.

Troubleshooting

The exact details of the errors reported will be different on each system, so just look for similarities below.

  1. If the terminal reports that:
    setup cannot be found (or similar)
    or another unexpected window pops up, then you have most likely issued the command: setupnot ./setup. The latter forces the machine to use the setup program in the directory the user is in, the former triggers Linux to search for setup in its path. If it finds setup elsewhere on the system before looking in the current directory, it will run that setup, which will generally not be preferred.

  2. If you try to start COMSOL with the start command comsol and you just get a delay of a minute or two, and then the prompt returns without error messages, it is likely that you have no access to an X-windows display. See the top of this page. Another symptom of not having access to an X-display may be the error message below. Once again, make sure you have access to a display by testing the xclock command.

    GLib-GObject-WARNING **: invalid (NULL) pointer instance
    GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
    Gtk-CRITICAL **: gtk_settings_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed

  3. If you have other graphics-related problems or crashes, please go to the troubleshooting section in solution 933

  4. If COMSOL crashes when accessing the help system, install the following package:
    Debian® and Ubuntu®: libwebkitgtk-1.0-0
    Red Hat® Enterprise Linux®: webkitgtk (not included in RHEL7 but available through EPEL).
    openSUSE®: libwebkitgtk-1.0-0 or libwebkit-1_0-2

  5. If you get a message

    Caused by: java.lang.UnsatisfiedLinkError: /media/COMSOL53a/lib/glnxa64/gcc/libstdc++.so: /lib64/libgcc_s.so.1: version 'GCC_4.2.0' not found (required by /media/dvd/lib/glnxa64/gcc/libstdc++.so)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    it could be because you try to install on an older unsupported Linux distribution, like Red Hat Enterprise 4, which can result in conflicting GCC libraries. The installer may have found other GCC libraries on the host system and is using them instead of the required libraries on the distribution DVD. A possible workaround is to run setup with the following command, to force COMSOL to use its own libraries:

    ./setup -forcecomsolgcc

  6. If the installation program halts after you supply the license information, it could be the same problem as in the point above, try running ./setup -forcecomsolgcc.

  7. If you run a Linux distribution with the SELinux security package activated, you may get an error message containing "permission denied" and a path to a file that cannot be read, and the most recently updated log file in ~/.comsol/v53a/logs contains the error message cannot restore segment prot after reloc: Permission denied. If this happens, the solution is to issue the following commands:
    chcon -t textrel_shlib_t /usr/local/comsol53a/multiphysics/lib/glnxa64/*.so*
    chcon -t textrel_shlib_t /usr/local/comsol53a/multiphysics/lib/glnxa64/ipv4/*.so*
    chcon -t textrel_shlib_t /usr/local/comsol53a/multiphysics/lib/glnxa64/ipv6/*.so*
    where /usr/local/comsol53a/multiphysics/lib/glnxa64 is the path to your binaries.

 

------------------------------------------------------

source: comsol.com

شرکت دانش بنیان رایانش سریع هزاره ایرانیان به منظور ارائه راهکارهای رایانش سریع، تحلیل داده، بیگ دیتا و کلان داده به سازمانها و شرکتهای عصر دیجیتال تشکیل شده است. خدماتی از جمله طراحی راهکارهای بیگ دیتا، راه اندازی دریاچه داده و انباره داده، ساخت کاتالوگ داده، تحلیل داده و یادگیری ماشینی و ... از جمله فعالیتهای این شرکت می باشد.

 

 

آخرین مقالات

کامپایل و نصب mfix-2016.1

درک عملکرد دستگاه های انرژی، محیط زیست و فرایندها...

معرفی کامل صف پیشرفته کاف...

آپاچی کافکا نیز پلت فرم متن باز به منظور پردازش جر...

روندهای معماری داده در سا...

هدف اصلی از پیاده‌سازی معماری داده، استانداردسازی...

کامپیوترهای کوانتومی: انف...

کامپیوترهای کوانتومی انفجاری در سرعت محاسبات ایجا...

رایانش مرزی یا EDGE COMPU...

در این مقاله تصمیم داریم با مفهومی به نام رایانش...

پردازش سریع تصاویر دریافت...

پردازش سریع تصاویر دریافت از راه دور (RS) در بسیار...

امنیت در مجازی سازی و رای...

مجازی سازی و رایانش ابری در رایانش ابری کامپوننت...

الگوریتم‌‌های پیش‌بین و ک...

استفاده از الگوریتم‌های پیش‌بین و هوش مصنوعی به د...

استفاده از سیستم چند عامل...

رایانش ابری یکی از راه حل های فشرده توسعه یافته بر...

۶ مهارت پر تقاضای بازار د...

متخصص دانش ابری (Cloud professional) یکی از عناوی...

جریان موازی بین منابع HPC...

چکیده انجام تجزیه و تحلیل یا تولید تصویری همزمان ب...

پردازش داده‌های جریانی در...

با ظهور وب ۲٫۰ و اینترنت اشیا، ردگیری همه نوع اطلا...

معرفی روش ها و ارائه پیشن...

چكیده محاسبات ابری یک فنآوری جدید نیست؛ بلکه روشی...

آیا فرآیند دموکراتیزه شدن...

ما وسط یک تحول تکنولوژیکی هستیم که شیوه سازماندهی...

کارکرد نظارتی و مدیریتی م...

محاسبات ابری و اینترنت اشیا به عنوان دو مبحث داغ د...

پیوند کلان داده با هوش مص...

سیستم‌های نرم‌افزاری تجاری همچون سرویس‌های ERP و...

محاسبات ابری قدرت رقابتی...

آیا فناوری دیجیتال، یک نیروی دموکراتیزه کننده است...

معماري لامبدا در مقابل مع...

معماري لامبدا تولید بی وقفه داده ها در دنیاي امروز...

زبان برنامه‌نویسی Milk سر...

زبان برنامه‌نویسی Milk که توسط دانشگاه MIT توسعه...

بیگ دیتا ، یادگیری ماشین...

سازمان‌ها گاهی اوقات به سختی تلاش می‌کنند تا با دس...

محاسبات مه چه هستند و چه...

در ابتدا همه چیز «ابر» بود، ولی حالا کلمه جدید «مه...

توسعه هوش مصنوعی مبتنی بر...

به گزارش ایسنا و به نقل از انگجت، پژوهشگران "ام.آی...

نگاهی به کاربردهای رایانش...

رایانش ابری مبحثی است که این روزها زیاد به آن پرد...

نرم افزار شبیه سازی، آنال...

دانلود CST Studio Suite: ارائه راه حل های محاسبات...

دانلود Siemens Star CCM+...

نرم افزار Star CCM یک ابزار شبیه سازی قدرتمند است...

ورود بیگ دیتا به صنعت دار...

تکنولوژی در حال ورود به صنعت داروسازی است و پیش‌بی...

چهارمین جلسه meetup: اصلا...

مهاجمان اغلب با استفاده از اشتباهات کدنویسی کوچک و...

مدیریت خصوصیات صف در کلاس...

 لیست زیر ,ویژگی های صف را نمایش می دهد : acl_grou...

AMD از رویکرد طراحی تازه‌...

AMD چند روز پیش به‌صورت رسمی از رویکرد طراحی جدیدی...

دومین جلسه meet up:مقدمه...

فهرست : توضیح مختصر از توسعه ی کلودسیم نصب کلودسیم...

گالری تصاویر

hacklink al duşakabin fiyatları fethiye escort bayan escort - vip elit escort dizi film izle erotik film izle duşakabin hack forum marsbahis betkom marsbahisgirtr