Apple OS X*

详解 HTML5 新特性

HTML5已经火了一段时间了,相信作为web相关开发工程师,肯定或多或少的了解和尝试过一些HTML5的特性和编程。还记得以前我们介绍过的HTML5新标签。 作为未来前端开发技术的潮流和风向标,HTML5绝对不容忽视。




<input type="email" pattern="[^ @]*@[^ @]*" value="">


特性二:数据列表元素在没有HTML5的日子里,我们会选择使用一些JS或者知名的jQuery UI来实现自动补齐的功能,而在HTML5中,我们可以直接使用datalist元素,如下:

Оптимизировали, оптимизировали, да не выоптимизировали!

Оптимизация? Конечно, каждый сталкивался с данной задачей при разработке своих, сколь-нибудь значительных, требующих определённых вычислений, приложений. При этом способов оптимизировать код существует огромное множество, и, как следствие, различных путей сделать это в автоматическом режиме с помощью опций компилятора. Вот здесь и возникает проблема – как выбрать то, что нужно нам и не запутаться?

Stepwise calculation for large datasets in Fortran


I am trying to do stepwise calculations, for each day, by using an equation in a Fortran program, using the datasets, as in the attached (each dataset has 18262 values corresponding to 18262 days). The output of the program would be another new dataset in which the two datasets are combined per the equation (as an example 0.5*TC1+ 7*TC2), for each day.

Installer crashes, Website only works in Firefox


Downloaded Intel Fortran compiler for evaluation on OSX.

Mounted installer dmg, fired up installer - instant crash missing symbol _strnlen in /usr/lib/libSystem.B.dylib

not very good

Find out if any way to report this - no

Forum website does not work in Chrome - only Firefox

Not a performance suggesting purchase this software

OpenMP not using all processors

I am trying to use MKL libraries and OpenMP in a MSVS C++ application on Windows7. The application shows affinity for all 24 processors (2 nodes, 6 processors, HyperThreaded). omp_get_num_procs() also shows 24 processors.  When I run the program only 1 node and 6 processors are accessed. This is confirmed  when I use "KMP_AFFINITY=verbose,none". It ouputs "OMP: Info #179: KMP_AFFINITY: 1 packages x 6 cores/pkg x 1 threads/core (6 total cores)".  I get no compiler or linker complaints.

xe14=>xe15 cause a SIGSEV (openmp)

When updating from ifort 14 to ifort 15 (15.0.2 to be precise), several bugs have appear in our programs (while it ran smoothly with ifort 14). One of them seems related to openMP : 

forrtl: severe (174): SIGSEGV, segmentation fault occurred

Image PC Routine Line Source 00007FF35F0F3961 Unknown Unknown Unknown 00007FF35F0F20B7 Unknown Unknown Unknown 00007FF362794692 Unknown Unknown Unknown 00007FF3627944E6 Unknown Unknown Unknown 00007FF36275518C Unknown Unknown Unknown

Fortran forrtl: severe (174): SIGSEGV, segmentation fault in derived type data

 "m.f90" :
  1 module typedef
  2 implicit none
  3 type::mytype
  4     integer::mn(2,2)
  5     complex(kind=8)::w
  6     integer,allocatable::sz(:)
  7 end type
  8 end module typedef
  9 subroutine mysub(mtp)
 10 use typedef
 11 implicit none
 12 type(mytype)::mtp(6)
 13 integer::lm
 14 complex(kind=8)::f0(6),f1(6)
 15 do lm=1,6
 16     write(*,*)"a",lm
 17     f0(lm)=mtp(lm).w
 18     f1(lm)=f0(lm)
 19 end do
 20 end subroutine

forrtl: severe (174): SIGSEGV, segmentation fault occurred

when I compiled my program m.f90 with command: "ifort m.f90" and then run it "./a.out", error occured as follows

a           1
 b           1
 c           1
 a           2
forrtl: severe (174): SIGSEGV, segmentation fault occurred,

I don't understand why

The following is my program m.f90:

Assine o Apple OS X*